Mercurial > hg > nginx-site
changeset 2995:89ab7fc9fea5
Development guide: updated style in code examples.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 18 Aug 2023 15:41:06 +0400 |
parents | 537b98ec3c83 |
children | 98bd95a5ac70 |
files | xml/en/docs/dev/development_guide.xml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/dev/development_guide.xml Thu Aug 17 20:31:29 2023 +0400 +++ b/xml/en/docs/dev/development_guide.xml Fri Aug 18 15:41:06 2023 +0400 @@ -5601,7 +5601,7 @@ } b->last = ngx_sprintf(b->pos, "%O", len); - b->last_buf = (r == r->main) ? 1: 0; + b->last_buf = (r == r->main) ? 1 : 0; b->last_in_chain = 1; r->headers_out.status = NGX_HTTP_OK; @@ -6102,7 +6102,7 @@ return NGX_ERROR; } - b->last_buf = (r == r->main) ? 1: 0; + b->last_buf = (r == r->main) ? 1 : 0; b->last_in_chain = 1; b->memory = 1;