aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_public.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-08 08:20:23 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-08 14:14:58 -0700
commit57ce9f1035a7d265d0f8b0d907dc893d4fcbcaeb (patch)
tree154042c271f68d2cb6991bcc4cdae22e65f51207 /src/supplemental/http/http_public.c
parent3971d119c129bf5685f9fd14d0f1f785581c3565 (diff)
downloadnng-57ce9f1035a7d265d0f8b0d907dc893d4fcbcaeb.tar.gz
nng-57ce9f1035a7d265d0f8b0d907dc893d4fcbcaeb.tar.bz2
nng-57ce9f1035a7d265d0f8b0d907dc893d4fcbcaeb.zip
fixes #2133 websocket: new header iteration options
Diffstat (limited to 'src/supplemental/http/http_public.c')
-rw-r--r--src/supplemental/http/http_public.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c
index 419632fe..e63c5f96 100644
--- a/src/supplemental/http/http_public.c
+++ b/src/supplemental/http/http_public.c
@@ -27,11 +27,11 @@ nng_http_get_header(nng_http *conn, const char *key)
#endif
}
-nng_err
+bool
nng_http_next_header(
nng_http *conn, const char **key, const char **val, void **ptr)
{
-#ifdef NNG_SUP_HTTP
+#ifdef NNG_SUPP_HTTP
return (nni_http_next_header(conn, key, val, ptr));
#else
NNI_ARG_UNUSED(conn);