From 06cb4fa9ab4745226524739e5cb823b2a88e4ca4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 6 Dec 2014 19:42:30 +0000 Subject: Correctly (hopefully) update the main cbuffer in unixmessage_receiver_fill --- src/libunixonacid/unixmessage_receive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libunixonacid/unixmessage_receive.c b/src/libunixonacid/unixmessage_receive.c index ccf4633..bcba24b 100644 --- a/src/libunixonacid/unixmessage_receive.c +++ b/src/libunixonacid/unixmessage_receive.c @@ -63,6 +63,7 @@ static int unixmessage_receiver_fill (unixmessage_receiver_t *b) return (errno = ENOBUFS, -1) ; } } + cbuffer_WSEEK(&b->mainb, r) ; return 1 ; } -- cgit v1.2.3