diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-22 12:34:46 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-22 12:34:46 -0800 |
| commit | 8c14ed19b5c72f060f31767e5bc4106054e41192 (patch) | |
| tree | 32cf29e73a78077dbaeb7433dfa0d7265de405ba /src/supplemental/http | |
| parent | a946d79e8d0eb3a47f75d6e1e98a28462c584d67 (diff) | |
| download | nng-8c14ed19b5c72f060f31767e5bc4106054e41192.tar.gz nng-8c14ed19b5c72f060f31767e5bc4106054e41192.tar.bz2 nng-8c14ed19b5c72f060f31767e5bc4106054e41192.zip | |
nng_http_server_collect_body now void return (API break)
Diffstat (limited to 'src/supplemental/http')
| -rw-r--r-- | src/supplemental/http/http_public.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c index f85eca64..1dccbdf6 100644 --- a/src/supplemental/http/http_public.c +++ b/src/supplemental/http/http_public.c @@ -594,17 +594,15 @@ nng_http_handler_set_method(nng_http_handler *h, const char *meth) #endif } -int +void nng_http_handler_collect_body(nng_http_handler *h, bool want, size_t len) { #ifdef NNG_SUPP_HTTP nni_http_handler_collect_body(h, want, len); - return (0); #else NNI_ARG_UNUSED(h); NNI_ARG_UNUSED(want); NNI_ARG_UNUSED(len); - return (NNG_ENOTSUP); #endif } |
