Mercurial > hg > nginx-quic
changeset 5757:c5ec6944de98
Style: add whitespace between control statement and parentheses.
Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
author | Piotr Sikora <piotr@cloudflare.com> |
---|---|
date | Tue, 08 Jul 2014 03:03:13 -0700 |
parents | 5b7276408565 |
children | f3df4e420ae7 |
files | src/http/modules/ngx_http_geo_module.c src/http/ngx_http_core_module.c src/http/ngx_http_parse.c src/http/ngx_http_upstream.c src/os/win32/ngx_service.c |
diffstat | 5 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -1470,7 +1470,7 @@ ngx_http_geo_include_binary_base(ngx_con vv = (ngx_http_variable_value_t *) (base + sizeof(ngx_http_geo_header_t)); - while(vv->data) { + while (vv->data) { len = ngx_align(sizeof(ngx_http_variable_value_t) + vv->len, sizeof(void *)); ngx_crc32_update(&crc32, (u_char *) vv, len);
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2355,7 +2355,7 @@ ngx_http_gzip_accept_encoding(ngx_str_t p += 4; while (p < last) { - switch(*p++) { + switch (*p++) { case ',': return NGX_OK; case ';': @@ -2372,7 +2372,7 @@ ngx_http_gzip_accept_encoding(ngx_str_t quantity: while (p < last) { - switch(*p++) { + switch (*p++) { case 'q': case 'Q': goto equal;
--- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -1287,7 +1287,7 @@ ngx_http_parse_complex_uri(ngx_http_requ break; } - switch(ch) { + switch (ch) { #if (NGX_WIN32) case '\\': if (u - 2 >= r->uri.data @@ -1357,7 +1357,7 @@ ngx_http_parse_complex_uri(ngx_http_requ break; } - switch(ch) { + switch (ch) { #if (NGX_WIN32) case '\\': break; @@ -1400,7 +1400,7 @@ ngx_http_parse_complex_uri(ngx_http_requ break; } - switch(ch) { + switch (ch) { #if (NGX_WIN32) case '\\': #endif @@ -1441,7 +1441,7 @@ ngx_http_parse_complex_uri(ngx_http_requ break; } - switch(ch) { + switch (ch) { #if (NGX_WIN32) case '\\': #endif