diff options
author | Neal H. Walfield <[email protected]> | 2015-08-12 20:57:58 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:20 +0000 |
commit | a250f73783c06d7789ac65a395d9247f4ab44c26 (patch) | |
tree | a4e983ddf17be92588f11c73bf6a04873a5cf8b3 /g10/encrypt.c | |
parent | common/iobuf.c: When requested, fill the buffer even if it is not empty. (diff) | |
download | gnupg-a250f73783c06d7789ac65a395d9247f4ab44c26.tar.gz gnupg-a250f73783c06d7789ac65a395d9247f4ab44c26.zip |
common/iobuf.c: Improve iobuf_peek.
* common/iobuf.c (underflow): Take additional parameter
clear_pending_eof. If not set, don't clear a pending eof when
returning EOF. Update callers.
(iobuf_peek): Fill the internal buffer, if needed, to be able to
better satisfy any request.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions