common/iobuf.c: When requested, fill the buffer even if it is not empty.
authorNeal H. Walfield <neal@g10code.com>
Wed, 12 Aug 2015 20:10:37 +0000 (22:10 +0200)
committerNeal H. Walfield <neal@g10code.com>
Thu, 20 Aug 2015 12:16:20 +0000 (14:16 +0200)
commitc7ad36eb0d7f872fc15e793aa1d0b6b89bc471d6
tree4151436c44b93c0a4422f8e45c668a757249f4c2
parente76c75d8726558dc9084710253f0f6780e06fad3
common/iobuf.c: When requested, fill the buffer even if it is not empty.

* common/iobuf.c (underflow): Don't require that the buffer be empty.
When called, fill any available space.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
common/iobuf.c