]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: replace buffer_empty() with b_empty() or c_empty()
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Jul 2018 07:53:31 +0000 (09:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:41 +0000 (16:23 +0200)
commit0c7ed5d264d6aac828ef3c2b89bfb16cc581d860
treec6521d95560a39d4f153c0e8374a095c0522fa42
parentd760eecf61856e5398f0875be5076a0c32e6d6a0
MINOR: buffer: replace buffer_empty() with b_empty() or c_empty()

For the same consistency reasons, let's use b_empty() at the few places
where an empty buffer is expected, or c_empty() if it's done on a channel.
Some of these places were there to realign the buffer so
{b,c}_realign_if_empty() was used instead.
include/common/buffer.h
include/proto/channel.h
src/buffer.c
src/channel.c
src/raw_sock.c
src/ssl_sock.c
src/stream.c