Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-12-03 10:01:03 +0300
committerRuslan Ermilov <ru@nginx.com>2016-12-03 10:01:03 +0300
commit34b41a70a606c254fdfc12a570c4514a24f06793 (patch)
treebba56de695ed662e81eca35f8678d1b6eb07c587 /src/core/ngx_slab.c
parent3df657f6fd4417c99d535c114024b44c0f86009a (diff)
Slab: always show the requested allocation size in debug messages.
Previously, allocations smaller than min_size were shown as min_size.
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r--src/core/ngx_slab.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c
index 9d257f364..b2adbf423 100644
--- a/src/core/ngx_slab.c
+++ b/src/core/ngx_slab.c
@@ -184,7 +184,6 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size)
slot = shift - pool->min_shift;
} else {
- size = pool->min_size;
shift = pool->min_shift;
slot = 0;
}