diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-06-18 19:19:06 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-06-18 19:19:06 -0700 |
| commit | dbc61a5038cacc516a49d00a59a669e2617cff51 (patch) | |
| tree | 2b63b03499af29eff7b9c76e352366223ddee1ce /docs/man/nng_http_res_alloc.3http.adoc | |
| parent | 2236819226e579058d9f9fd67f3d684630a40634 (diff) | |
| download | nng-dbc61a5038cacc516a49d00a59a669e2617cff51.tar.gz nng-dbc61a5038cacc516a49d00a59a669e2617cff51.tar.bz2 nng-dbc61a5038cacc516a49d00a59a669e2617cff51.zip | |
Language cleanups in the documentation.
Mostly this is removal of the smart quotes, which were
over-used, and misused, and could have been mistaken to
be pejorative. A few other minor nits were fixed while here.
Diffstat (limited to 'docs/man/nng_http_res_alloc.3http.adoc')
| -rw-r--r-- | docs/man/nng_http_res_alloc.3http.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_http_res_alloc.3http.adoc b/docs/man/nng_http_res_alloc.3http.adoc index ba2c9b5f..f546d151 100644 --- a/docs/man/nng_http_res_alloc.3http.adoc +++ b/docs/man/nng_http_res_alloc.3http.adoc @@ -28,8 +28,8 @@ int nng_http_res_alloc(nng_http_res **resp); The `nng_http_res_alloc()` function allocates a new HTTP response structure and stores a pointer to it in __resp__. The response will be initialized -with status code 200 (`NNG_HTTP_STATUS_OK`), and a reason phrase of `"OK`", -and HTTP protocol version `"HTTP/1.1`". +with status code 200 (`NNG_HTTP_STATUS_OK`), and a reason phrase of `OK`, +and HTTP protocol version `HTTP/1.1`. TIP: When an error response is needed, consider using xref:nng_http_res_alloc_error.3http.adoc[`nng_http_res_alloc_error()`] instead. |
