aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nng/supplemental/http/http.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nng/supplemental/http/http.h b/include/nng/supplemental/http/http.h
index 4bcc6ec6..a25768e9 100644
--- a/include/nng/supplemental/http/http.h
+++ b/include/nng/supplemental/http/http.h
@@ -378,7 +378,7 @@ NNG_DECL int nng_http_handler_collect_body(nng_http_handler *, bool, size_t);
// for a hierarchical tree, rather than just a single path, so it will be
// called for all child paths supplied. By default the handler is only
// called for an exact path match.
-NNG_DECL int nng_http_handler_set_tree(nng_http_handler *);
+NNG_DECL void nng_http_handler_set_tree(nng_http_handler *);
// nng_http_handler_set_tree_exclusive indicates that the handler is being
// registered for a heirarchical tree *exclusively*, rather than just a single
@@ -386,7 +386,7 @@ NNG_DECL int nng_http_handler_set_tree(nng_http_handler *);
// handler is only called for an exact path match. Exclusive means that any
// other handler on a conflicting path will induce an address conflict error
// when added to a server.
-NNG_DECL int nng_http_handler_set_tree_exclusive(nng_http_handler *);
+NNG_DECL void nng_http_handler_set_tree_exclusive(nng_http_handler *);
// nng_http_handler_set_data is used to store additional data, along with
// a possible clean up routine. (The clean up is a custom de-allocator and