summaryrefslogtreecommitdiff
path: root/src/skadns/skadnsd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-06 00:41:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-06 00:41:36 +0000
commit05206843060c87c3b5c432f3fbb066ed3a5f9112 (patch)
treeecc4e93895eeb8d0bfd88f1e7b0d2ac2807289a0 /src/skadns/skadnsd.c
parentbf70b202bb72cd23d224a7709c7ff5ae87a4176e (diff)
downloads6-dns-05206843060c87c3b5c432f3fbb066ed3a5f9112.tar.xz
- bugfix in skadns, need to align to skalibs-2.1.0.0v2.0.0.1
- version increase to 2.0.0.1
Diffstat (limited to 'src/skadns/skadnsd.c')
-rw-r--r--src/skadns/skadnsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skadns/skadnsd.c b/src/skadns/skadnsd.c
index 473ed1a..11f52ea 100644
--- a/src/skadns/skadnsd.c
+++ b/src/skadns/skadnsd.c
@@ -159,10 +159,10 @@ int main (void)
}
if (x[1].revents & IOPAUSE_WRITE)
- if ((unixmessage_sender_flush(unixmessage_sender_1) < 0) && !error_isagain(errno))
+ if (!unixmessage_sender_flush(unixmessage_sender_1) && !error_isagain(errno))
strerr_diefu1sys(111, "flush stdout") ;
if (x[2].revents & IOPAUSE_WRITE)
- if ((unixmessage_sender_flush(unixmessage_sender_x) < 0) && !error_isagain(errno))
+ if (!unixmessage_sender_flush(unixmessage_sender_x) && !error_isagain(errno))
strerr_diefu1sys(111, "flush asyncout") ;
{