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
+++ b/xml/en/docs/dev/development_guide.xml
@@ -5601,7 +5601,7 @@ ngx_http_foo_init(ngx_http_request_t *r)
     }
 
     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 @@ ngx_http_bar_content_handler(ngx_http_re
         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;