aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_limit_zone_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-27 19:32:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-27 19:32:55 +0000
commit2766157b0286b5c402e36c47f7ff98dacd6e7114 (patch)
tree954c6856da4aad68f45e529af792dddf1989a406 /src/http/modules/ngx_http_limit_zone_module.c
parenta2c8d9a0a88ab60f0c477621e7a6ce51c7dfe54e (diff)
downloadnginx-2766157b0286b5c402e36c47f7ff98dacd6e7114.tar.gz
nginx-2766157b0286b5c402e36c47f7ff98dacd6e7114.zip
delete duplicate error logging
Diffstat (limited to 'src/http/modules/ngx_http_limit_zone_module.c')
-rw-r--r--src/http/modules/ngx_http_limit_zone_module.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/modules/ngx_http_limit_zone_module.c b/src/http/modules/ngx_http_limit_zone_module.c
index 1519e7f32..384155c85 100644
--- 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_request_t *r)
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;
}