Mercurial > hg > nginx
comparison src/stream/ngx_stream_geo_module.c @ 7215:2dc837d16099
Geo: fixed indentation.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 21 Feb 2018 17:26:00 +0300 |
parents | 88aad69eccef |
children | 286ae954009d |
comparison
equal
deleted
inserted
replaced
7214:88aad69eccef | 7215:2dc837d16099 |
---|---|
339 | 339 |
340 | 340 |
341 static char * | 341 static char * |
342 ngx_stream_geo_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 342 ngx_stream_geo_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |
343 { | 343 { |
344 char *rv; | 344 char *rv; |
345 size_t len; | 345 size_t len; |
346 ngx_str_t *value, name; | 346 ngx_str_t *value, name; |
347 ngx_uint_t i; | 347 ngx_uint_t i; |
348 ngx_conf_t save; | 348 ngx_conf_t save; |
349 ngx_pool_t *pool; | 349 ngx_pool_t *pool; |
350 ngx_array_t *a; | 350 ngx_array_t *a; |
351 ngx_stream_variable_t *var; | 351 ngx_stream_variable_t *var; |
352 ngx_stream_geo_ctx_t *geo; | 352 ngx_stream_geo_ctx_t *geo; |
353 ngx_stream_geo_conf_ctx_t ctx; | 353 ngx_stream_geo_conf_ctx_t ctx; |
354 #if (NGX_HAVE_INET6) | 354 #if (NGX_HAVE_INET6) |
355 static struct in6_addr zero; | 355 static struct in6_addr zero; |
356 #endif | 356 #endif |
357 | 357 |
358 value = cf->args->elts; | 358 value = cf->args->elts; |
359 | 359 |
360 geo = ngx_palloc(cf->pool, sizeof(ngx_stream_geo_ctx_t)); | 360 geo = ngx_palloc(cf->pool, sizeof(ngx_stream_geo_ctx_t)); |