]> git.kaiwu.me - nginx.git/commitdiff
style fix: remove tabs
authorIgor Sysoev <igor@sysoev.ru>
Thu, 11 Dec 2008 10:22:25 +0000 (10:22 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 11 Dec 2008 10:22:25 +0000 (10:22 +0000)
src/http/modules/ngx_http_geo_module.c

index e81616396213739bfc9214346a163ffd1bccb97e..d570e300931bb9bb5e600581eb2923cfeb073be5 100644 (file)
@@ -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) {