From f6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 22 Apr 2016 11:54:31 +0000 Subject: Fix closecb support wherever a unixmessage may get dropped; add closecb support to unixconnection --- src/libunixonacid/unixmessage_sender_flush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libunixonacid/unixmessage_sender_flush.c') 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++) -- cgit v1.2.3