diff options
author | Jianjun Zheng <codeeply@gmail.com> | 2014-06-18 12:39:59 +0400 |
---|---|---|
committer | Jianjun Zheng <codeeply@gmail.com> | 2014-06-18 12:39:59 +0400 |
commit | 584692027b5ffc607ef1b30126bf1f6d74cdfc18 (patch) | |
tree | 380cebfaaf024e7c8f6bf32386a088aadefaff78 /src/core/ngx_slab.c | |
parent | cc870236b2f3223b1db67346e70a8b29183208e6 (diff) |
Core: bugfix for the ngx_slab_max_size case.
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r-- | src/core/ngx_slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 24f2ff16a..c1125062a 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -160,7 +160,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size) ngx_uint_t i, slot, shift, map; ngx_slab_page_t *page, *prev, *slots; - if (size >= ngx_slab_max_size) { + if (size > ngx_slab_max_size) { ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0, "slab alloc: %uz", size); |