From 57ce9f1035a7d265d0f8b0d907dc893d4fcbcaeb Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 8 Oct 2025 08:20:23 -0700 Subject: fixes #2133 websocket: new header iteration options --- src/supplemental/http/http_public.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/supplemental/http/http_public.c') 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); -- cgit v1.2.3-70-g09d2