aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-22 12:34:46 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-22 12:34:46 -0800
commit8c14ed19b5c72f060f31767e5bc4106054e41192 (patch)
tree32cf29e73a78077dbaeb7433dfa0d7265de405ba /include
parenta946d79e8d0eb3a47f75d6e1e98a28462c584d67 (diff)
downloadnng-8c14ed19b5c72f060f31767e5bc4106054e41192.tar.gz
nng-8c14ed19b5c72f060f31767e5bc4106054e41192.tar.bz2
nng-8c14ed19b5c72f060f31767e5bc4106054e41192.zip
nng_http_server_collect_body now void return (API break)
Diffstat (limited to 'include')
-rw-r--r--include/nng/supplemental/http/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/supplemental/http/http.h b/include/nng/supplemental/http/http.h
index a25768e9..e94aa0b3 100644
--- a/include/nng/supplemental/http/http.h
+++ b/include/nng/supplemental/http/http.h
@@ -372,7 +372,7 @@ NNG_DECL void nng_http_handler_set_host(nng_http_handler *, const char *);
// then a 400 Bad Request will be sent back to the client. To set an
// unlimited value, use (size_t)-1. To preclude the client from sending
// *any* data, use 0. (The static and file handlers use 0 by default.)
-NNG_DECL int nng_http_handler_collect_body(nng_http_handler *, bool, size_t);
+NNG_DECL void nng_http_handler_collect_body(nng_http_handler *, bool, size_t);
// nng_http_handler_set_tree indicates that the handler is being registered
// for a hierarchical tree, rather than just a single path, so it will be