commit | ca21c768b9a096dcedaac3f601de13fc4f320b97 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Tue May 17 18:52:39 2022 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed May 18 15:30:13 2022 +0200 |
tree | c39be5e8fc8ea9d77d7dde0eda9a19c317b96614 | |
parent | f6dbdc14448cbba57d62b51a7762d2d1b8024841 [diff] |
MINOR: ncbuf: refactor ncb_advance() First adjusted some typos in comments inside the function. Second, change the naming of some variable to reduce confusion. A special case has been inserted when advance is done inside a GAP block and this block is the last of the buffer. In this case, the whole buffer will be emptied, equivalent to a ncb_init() operation.