mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 22:09:01 +08:00
style fix: remove tabs
This commit is contained in:
parent
22f6d86cba
commit
2d83ed000f
@ -697,22 +697,22 @@ ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
|
|||||||
cidrin.mask = 0xffffffff;
|
cidrin.mask = 0xffffffff;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
rc = ngx_ptocidr(net, &cidrin);
|
rc = ngx_ptocidr(net, &cidrin);
|
||||||
|
|
||||||
if (rc == NGX_ERROR) {
|
if (rc == NGX_ERROR) {
|
||||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||||
"invalid network \"%V\"", net);
|
"invalid network \"%V\"", net);
|
||||||
return NGX_CONF_ERROR;
|
return NGX_CONF_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rc == NGX_DONE) {
|
if (rc == NGX_DONE) {
|
||||||
ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
|
ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
|
||||||
"low address bits of %V are meaningless",
|
"low address bits of %V are meaningless",
|
||||||
net);
|
net);
|
||||||
}
|
}
|
||||||
|
|
||||||
cidrin.addr = ntohl(cidrin.addr);
|
cidrin.addr = ntohl(cidrin.addr);
|
||||||
cidrin.mask = ntohl(cidrin.mask);
|
cidrin.mask = ntohl(cidrin.mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (del) {
|
if (del) {
|
||||||
|
Loading…
Reference in New Issue
Block a user