aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-11-10 00:31:48 -0800
committerGarrett D'Amore <garrett@damore.org>2020-11-10 00:31:48 -0800
commit34b363ce101ddc03c74fb1f002e587d2315420c3 (patch)
tree5ae0ab290d1c57fefa7fe6264cf0d86cfbf4badc /src/supplemental/http
parentba9f86e2d27a29e9d50a809ec54213cece7767a4 (diff)
downloadnng-34b363ce101ddc03c74fb1f002e587d2315420c3.tar.gz
nng-34b363ce101ddc03c74fb1f002e587d2315420c3.tar.bz2
nng-34b363ce101ddc03c74fb1f002e587d2315420c3.zip
Fix minor incorrect comment.
Diffstat (limited to 'src/supplemental/http')
-rw-r--r--src/supplemental/http/http_api.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/supplemental/http/http_api.h b/src/supplemental/http/http_api.h
index 6be681a9..1305b5a0 100644
--- a/src/supplemental/http/http_api.h
+++ b/src/supplemental/http/http_api.h
@@ -336,8 +336,7 @@ extern int nni_http_handler_set_method(nni_http_handler *, const char *);
extern int nni_http_handler_set_data(nni_http_handler *, void *, nni_cb);
// nni_http_handler_get_data returns the data that was previously stored
-// at that index. It returns NULL if no data was set, or an invalid index
-// is supplied.
+// by nni_http_handler_set_data.
extern void *nni_http_handler_get_data(nni_http_handler *);
// nni_http_handler_get_uri returns the URI set on the handler.