diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-03-11 17:31:59 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-03-11 17:31:59 +0300 |
commit | 22de5fcddfacd8d241ae2926125e0151b9e6e651 (patch) | |
tree | 5bb98bf2ed915b3ac59b32737f827c7ff6812724 /src/nxt_unit.c | |
parent | dccb4cf3548724fbec993c5bb83edf928d0b23bf (diff) | |
download | unit-22de5fcddfacd8d241ae2926125e0151b9e6e651.tar.gz unit-22de5fcddfacd8d241ae2926125e0151b9e6e651.tar.bz2 |
Style.
Diffstat (limited to 'src/nxt_unit.c')
-rw-r--r-- | src/nxt_unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_unit.c b/src/nxt_unit.c index 6339aec5..88c7fa6a 100644 --- a/src/nxt_unit.c +++ b/src/nxt_unit.c @@ -1946,10 +1946,10 @@ nxt_unit_mmap_at(nxt_unit_mmaps_t *mmaps, uint32_t i) while (i + 1 > cap) { if (cap < 16) { - cap = cap * 2; + cap = cap * 2; } else { - cap = cap + cap / 2; + cap = cap + cap / 2; } } |