aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_public.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-22 12:32:15 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-22 12:32:15 -0800
commita946d79e8d0eb3a47f75d6e1e98a28462c584d67 (patch)
treedc848a251a9f483eccbae1d043e52136eabb473f /src/supplemental/http/http_public.c
parent2662596f105fc98ae1d2aa3b6137261bb351a8df (diff)
downloadnng-a946d79e8d0eb3a47f75d6e1e98a28462c584d67.tar.gz
nng-a946d79e8d0eb3a47f75d6e1e98a28462c584d67.tar.bz2
nng-a946d79e8d0eb3a47f75d6e1e98a28462c584d67.zip
http: handler set tree no longer returns a value (API break)
Diffstat (limited to 'src/supplemental/http/http_public.c')
-rw-r--r--src/supplemental/http/http_public.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c
index 58550a3f..f85eca64 100644
--- a/src/supplemental/http/http_public.c
+++ b/src/supplemental/http/http_public.c
@@ -619,25 +619,23 @@ nng_http_handler_set_host(nng_http_handler *h, const char *host)
#endif
}
-int
+void
nng_http_handler_set_tree(nng_http_handler *h)
{
#ifdef NNG_SUPP_HTTP
- return (nni_http_handler_set_tree(h));
+ nni_http_handler_set_tree(h);
#else
NNI_ARG_UNUSED(h);
- return (NNG_ENOTSUP);
#endif
}
-int
+void
nng_http_handler_set_tree_exclusive(nng_http_handler *h)
{
#ifdef NNG_SUPP_HTTP
- return (nni_http_handler_set_tree_exclusive(h));
+ nni_http_handler_set_tree_exclusive(h);
#else
NNI_ARG_UNUSED(h);
- return (NNG_ENOTSUP);
#endif
}