changeset 2365:8522a901df2f

fix "delete CIDR"
author Igor Sysoev <igor@sysoev.ru>
date Tue, 02 Dec 2008 15:02:36 +0000
parents 16ee42042389
children 3aa4fd0e7dc5
files src/http/modules/ngx_http_geo_module.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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;
         }
     }