aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_handler_set_data.3http.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_http_handler_set_data.3http.adoc')
-rw-r--r--docs/man/nng_http_handler_set_data.3http.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_http_handler_set_data.3http.adoc b/docs/man/nng_http_handler_set_data.3http.adoc
index 120c4618..9fd622b0 100644
--- a/docs/man/nng_http_handler_set_data.3http.adoc
+++ b/docs/man/nng_http_handler_set_data.3http.adoc
@@ -11,7 +11,7 @@
== NAME
-nng_http_handler_get_data - set extra data for HTTP handler
+nng_http_handler_set_data - set extra data for HTTP handler
== SYNOPSIS
@@ -20,7 +20,7 @@ nng_http_handler_get_data - set extra data for HTTP handler
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
-void *nng_http_handler_get_data(nng_http_handler *handler, void *data,
+int nng_http_handler_set_data(nng_http_handler *handler, void *data,
void (*dtor)(void *));
----