summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixmessage_sender_flush.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-09 17:00:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-09 17:00:34 +0000
commit978416c7e201d8261f9ecf512169f384261b1a9a (patch)
treeb3f3ad55cca0b4dfedfdac0e8d5e05307f2836c4 /src/libunixonacid/unixmessage_sender_flush.c
parentb59ce39f9779cf4b1ad423783b6a532f94a8e880 (diff)
downloadskalibs-978416c7e201d8261f9ecf512169f384261b1a9a.tar.xz
Bugfix: unixmessage_put was recording the wrong number of fds
Diffstat (limited to 'src/libunixonacid/unixmessage_sender_flush.c')
-rw-r--r--src/libunixonacid/unixmessage_sender_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunixonacid/unixmessage_sender_flush.c b/src/libunixonacid/unixmessage_sender_flush.c
index bea3585..b0ad2c9 100644
--- a/src/libunixonacid/unixmessage_sender_flush.c
+++ b/src/libunixonacid/unixmessage_sender_flush.c
@@ -26,7 +26,7 @@
int unixmessage_sender_flush (unixmessage_sender_t *b)
{
- diuint last = { .left = (uint32)b->data.len, .right = genalloc_len(int, &b->fds) } ;
+ diuint last = { .left = b->data.len, .right = genalloc_len(int, &b->fds) } ;
diuint *offsets = genalloc_s(diuint, &b->offsets) ;
unsigned int n = genalloc_len(diuint, &b->offsets) ;
register int r ;