delete duplicate error logging

This commit is contained in:
Igor Sysoev 2009-03-27 19:32:55 +00:00
parent a2c8d9a0a8
commit 2766157b02
2 changed files with 0 additions and 10 deletions

View File

@ -224,11 +224,6 @@ ngx_http_limit_req_handler(ngx_http_request_t *r)
node = ngx_slab_alloc_locked(ctx->shpool, n);
if (node == NULL) {
ngx_shmtx_unlock(&ctx->shpool->mutex);
ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
"could not allocate memory in zone \"%V\"",
&lrcf->shm_zone->name);
return NGX_HTTP_SERVICE_UNAVAILABLE;
}
}

View File

@ -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;
}