diff src/http/modules/ngx_http_limit_zone_module.c @ 2612:038dc63b657a

delete duplicate error logging
author Igor Sysoev <igor@sysoev.ru>
date Fri, 27 Mar 2009 19:32:55 +0000
parents 2bce3f6416c6
children d5896f6608e8
line wrap: on
line diff
--- a/src/http/modules/ngx_http_limit_zone_module.c
+++ b/src/http/modules/ngx_http_limit_zone_module.c
@@ -210,11 +210,6 @@ ngx_http_limit_zone_handler(ngx_http_req
     node = ngx_slab_alloc_locked(shpool, n);
     if (node == NULL) {
         ngx_shmtx_unlock(&shpool->mutex);
-
-        ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
-                      "could not allocate memory in zone \"%V\"",
-                      &lzcf->shm_zone->name);
-
         return NGX_HTTP_SERVICE_UNAVAILABLE;
     }