diff --git a/docs/man/nng_http_handler_collect_body.3http.adoc b/docs/man/nng_http_handler_collect_body.3http.adoc index 4507c4183..b614f6758 100644 --- a/docs/man/nng_http_handler_collect_body.3http.adoc +++ b/docs/man/nng_http_handler_collect_body.3http.adoc @@ -25,7 +25,7 @@ int nng_http_handler_collect_body(nng_http_handler *handler, bool want, size_t m == DESCRIPTION -The `nng_http_handler_collect_data()` function causes the _handler_ to +The `nng_http_handler_collect_body()` function causes the _handler_ to collect any request body that was submitted with the request, and attach it to the `nng_http_req` before the handler is called.