diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-12-11 10:22:25 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-12-11 10:22:25 +0000 |
| commit | 2d83ed000f3890f2e1c4344b8c3c5e8dfb0fe3b1 (patch) | |
| tree | e3caf8aedd65832d8dc43570e5ffccb7ec7acc66 | |
| parent | 22f6d86cba6fffbd0c657125dca710ca6452adb4 (diff) | |
| download | nginx-2d83ed000f3890f2e1c4344b8c3c5e8dfb0fe3b1.tar.gz nginx-2d83ed000f3890f2e1c4344b8c3c5e8dfb0fe3b1.tar.bz2 | |
style fix: remove tabs
| -rw-r--r-- | src/http/modules/ngx_http_geo_module.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c index e81616396..d570e3009 100644 --- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -697,22 +697,22 @@ ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cidrin.mask = 0xffffffff; } else { - rc = ngx_ptocidr(net, &cidrin); + rc = ngx_ptocidr(net, &cidrin); - if (rc == NGX_ERROR) { - ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, - "invalid network \"%V\"", net); - return NGX_CONF_ERROR; - } + if (rc == NGX_ERROR) { + ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, + "invalid network \"%V\"", net); + return NGX_CONF_ERROR; + } - if (rc == NGX_DONE) { - ngx_conf_log_error(NGX_LOG_WARN, cf, 0, - "low address bits of %V are meaningless", + if (rc == NGX_DONE) { + ngx_conf_log_error(NGX_LOG_WARN, cf, 0, + "low address bits of %V are meaningless", net); - } + } - cidrin.addr = ntohl(cidrin.addr); - cidrin.mask = ntohl(cidrin.mask); + cidrin.addr = ntohl(cidrin.addr); + cidrin.mask = ntohl(cidrin.mask); } if (del) { |
