diff 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
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c
+++ b/src/http/modules/ngx_http_geo_module.c
@@ -666,8 +666,9 @@ ngx_http_geo_cidr(ngx_conf_t *cf, ngx_ht
             {
                 ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
                                    "no network \"%V\" to delete", net);
-                return NGX_CONF_OK;
             }
+
+            return NGX_CONF_OK;
         }
     }