diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-12-03 10:01:03 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-12-03 10:01:03 +0300 |
commit | 34b41a70a606c254fdfc12a570c4514a24f06793 (patch) | |
tree | bba56de695ed662e81eca35f8678d1b6eb07c587 /src/core/ngx_slab.c | |
parent | 3df657f6fd4417c99d535c114024b44c0f86009a (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.c | 1 |
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; } |