diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-03-30 11:52:16 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-03-30 11:52:16 +0300 |
commit | 7ad57da59821294255610545b2b5ce07e74124a5 (patch) | |
tree | 91bb44ad5950b703d0f49a8744f0b9b08cf29f11 /src/core/ngx_slab.c | |
parent | dfbc51a8cc850154fe8839408f32c7e322f5cdf0 (diff) |
Style.
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r-- | src/core/ngx_slab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index c1125062a..fa2a64637 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -222,11 +222,11 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size) if (bitmap[n] == NGX_SLAB_BUSY) { for (n = n + 1; n < map; n++) { - if (bitmap[n] != NGX_SLAB_BUSY) { - p = (uintptr_t) bitmap + i; + if (bitmap[n] != NGX_SLAB_BUSY) { + p = (uintptr_t) bitmap + i; - goto done; - } + goto done; + } } prev = (ngx_slab_page_t *) |