From 113e3606bd1a763850db1afee336bb0d5d434317 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Dec 2024 12:41:44 -0800 Subject: http: nng_http_handler_set_data is now void return (API break) --- include/nng/supplemental/http/http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/nng/supplemental/http/http.h b/include/nng/supplemental/http/http.h index e94aa0b3..f00c63a9 100644 --- a/include/nng/supplemental/http/http.h +++ b/include/nng/supplemental/http/http.h @@ -392,7 +392,7 @@ NNG_DECL void nng_http_handler_set_tree_exclusive(nng_http_handler *); // a possible clean up routine. (The clean up is a custom de-allocator and // will be called with the supplied data as an argument, when the handler // is being de-allocated.) -NNG_DECL int nng_http_handler_set_data( +NNG_DECL void nng_http_handler_set_data( nng_http_handler *, void *, void (*)(void *)); // nng_http_handler_get_data returns the data that was previously stored. -- cgit v1.2.3-70-g09d2