comparison src/http/modules/ngx_http_geo_module.c @ 2365:8522a901df2f

fix "delete CIDR"
author Igor Sysoev <igor@sysoev.ru>
date Tue, 02 Dec 2008 15:02:36 +0000
parents ac0cf19eb582
children 12e8e0045096 f2e0e1fa87f0
comparison
equal deleted inserted replaced
2364:16ee42042389 2365:8522a901df2f
664 if (ngx_radix32tree_delete(ctx->tree, cidrin.addr, cidrin.mask) 664 if (ngx_radix32tree_delete(ctx->tree, cidrin.addr, cidrin.mask)
665 != NGX_OK) 665 != NGX_OK)
666 { 666 {
667 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, 667 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
668 "no network \"%V\" to delete", net); 668 "no network \"%V\" to delete", net);
669 return NGX_CONF_OK; 669 }
670 } 670
671 return NGX_CONF_OK;
671 } 672 }
672 } 673 }
673 674
674 val = ngx_http_geo_value(cf, ctx, &value[1]); 675 val = ngx_http_geo_value(cf, ctx, &value[1]);
675 676