Klaus Demo nginx / 2d83ed0
style fix: remove tabs Igor Sysoev 13 years ago
1 changed file(s) with 15 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
696696 cidrin.mask = 0xffffffff;
697697
698698 } else {
699 rc = ngx_ptocidr(net, &cidrin);
700
701 if (rc == NGX_ERROR) {
702 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
703 "invalid network \"%V\"", net);
704 return NGX_CONF_ERROR;
705 }
706
707 if (rc == NGX_DONE) {
708 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
709 "low address bits of %V are meaningless",
699 rc = ngx_ptocidr(net, &cidrin);
700
701 if (rc == NGX_ERROR) {
702 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
703 "invalid network \"%V\"", net);
704 return NGX_CONF_ERROR;
705 }
706
707 if (rc == NGX_DONE) {
708 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
709 "low address bits of %V are meaningless",
710710 net);
711 }
712
713 cidrin.addr = ntohl(cidrin.addr);
714 cidrin.mask = ntohl(cidrin.mask);
711 }
712
713 cidrin.addr = ntohl(cidrin.addr);
714 cidrin.mask = ntohl(cidrin.mask);
715715 }
716716
717717 if (del) {