summaryrefslogtreecommitdiff
path: root/src/libunixonacid
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 19:42:30 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 19:42:30 +0000
commit06cb4fa9ab4745226524739e5cb823b2a88e4ca4 (patch)
treef96eed04c01d0bf24f85a5d3d27e37d49a8a5b49 /src/libunixonacid
parente2624db29918127932afcb1c5e767531eeefa288 (diff)
downloadskalibs-06cb4fa9ab4745226524739e5cb823b2a88e4ca4.tar.xz
Correctly (hopefully) update the main cbuffer in unixmessage_receiver_fill
Diffstat (limited to 'src/libunixonacid')
-rw-r--r--src/libunixonacid/unixmessage_receive.c1
1 files changed, 1 insertions, 0 deletions
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 ;
}