summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixmessage_sender_flush.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-04-22 11:54:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-04-22 11:54:31 +0000
commitf6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88 (patch)
tree206cd7e9606bf5488f70e6eddb3aadbb35bafe1b /src/libunixonacid/unixmessage_sender_flush.c
parente9fce4390ad8673239a51facd6bbd9ffb5eb7e68 (diff)
downloadskalibs-f6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88.tar.xz
Fix closecb support wherever a unixmessage may get dropped; add closecb support to unixconnection
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 6559083..57c5d6e 100644
--- a/src/libunixonacid/unixmessage_sender_flush.c
+++ b/src/libunixonacid/unixmessage_sender_flush.c
@@ -97,7 +97,7 @@ int unixmessage_sender_flush (unixmessage_sender_t *b)
while (r < 0 && errno == EINTR) ;
if (r <= 0) return 0 ;
#ifndef SKALIBS_HASANCILAUTOCLOSE
- if (nfds && b->closecb)
+ if (nfds)
{
register unsigned int i = 0 ;
for (; i < nfds ; i++)