commit | acd14037940310749def5c83d8e9e6bf5986d705 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jun 28 18:17:23 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 19 16:23:42 2018 +0200 |
tree | 7d41f25ce7a06ff85e0f3693a088ca45b4e7f4d8 | |
parent | 591d4450497cc364711ada03ce1b240a99e71a49 [diff] [blame] |
MINOR: buffer: Use b_add()/bo_add() instead of accessing b->i/b->o. Use the newly available functions instead of using the buffer fields directly.
diff --git a/src/cache.c b/src/cache.c index f66106d..b86d7bd 100644 --- a/src/cache.c +++ b/src/cache.c
@@ -560,7 +560,7 @@ si_applet_cant_put(si); goto out; } - res->buf->i += len; + b_add(res->buf, len); res->total += len; appctx->st0 = HTTP_CACHE_FWD; }