Mercurial > hg > nginx
comparison src/http/modules/ngx_http_geo_module.c @ 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 | 314c3d7cc3a5 |
children | 873d7053efb9 |
comparison
equal
deleted
inserted
replaced
5756:5b7276408565 | 5757:c5ec6944de98 |
---|---|
1468 | 1468 |
1469 ngx_crc32_init(crc32); | 1469 ngx_crc32_init(crc32); |
1470 | 1470 |
1471 vv = (ngx_http_variable_value_t *) (base + sizeof(ngx_http_geo_header_t)); | 1471 vv = (ngx_http_variable_value_t *) (base + sizeof(ngx_http_geo_header_t)); |
1472 | 1472 |
1473 while(vv->data) { | 1473 while (vv->data) { |
1474 len = ngx_align(sizeof(ngx_http_variable_value_t) + vv->len, | 1474 len = ngx_align(sizeof(ngx_http_variable_value_t) + vv->len, |
1475 sizeof(void *)); | 1475 sizeof(void *)); |
1476 ngx_crc32_update(&crc32, (u_char *) vv, len); | 1476 ngx_crc32_update(&crc32, (u_char *) vv, len); |
1477 vv->data += (size_t) base; | 1477 vv->data += (size_t) base; |
1478 vv = (ngx_http_variable_value_t *) ((u_char *) vv + len); | 1478 vv = (ngx_http_variable_value_t *) ((u_char *) vv + len); |