Klaus Demo nginx / 2766157
delete duplicate error logging Igor Sysoev 13 years ago
2 changed file(s) with 0 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
223223 node = ngx_slab_alloc_locked(ctx->shpool, n);
224224 if (node == NULL) {
225225 ngx_shmtx_unlock(&ctx->shpool->mutex);
226
227 ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
228 "could not allocate memory in zone \"%V\"",
229 &lrcf->shm_zone->name);
230
231226 return NGX_HTTP_SERVICE_UNAVAILABLE;
232227 }
233228 }
209209 node = ngx_slab_alloc_locked(shpool, n);
210210 if (node == NULL) {
211211 ngx_shmtx_unlock(&shpool->mutex);
212
213 ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
214 "could not allocate memory in zone \"%V\"",
215 &lzcf->shm_zone->name);
216
217212 return NGX_HTTP_SERVICE_UNAVAILABLE;
218213 }
219214