summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--[-rwxr-xr-x]src/libs6dns/deps-lib/s6dns0
-rw-r--r--src/skadns/skadns_start.c2
-rw-r--r--src/skadns/skadnsd.c4
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libs6dns/deps-lib/s6dns b/src/libs6dns/deps-lib/s6dns
index b218652..b218652 100755..100644
--- a/src/libs6dns/deps-lib/s6dns
+++ b/src/libs6dns/deps-lib/s6dns
diff --git a/src/skadns/skadns_start.c b/src/skadns/skadns_start.c
index 3dccb54..2f56cc8 100644
--- a/src/skadns/skadns_start.c
+++ b/src/skadns/skadns_start.c
@@ -6,5 +6,5 @@
int skadns_start (skadns_t *a, char const *path, tain_t const *deadline, tain_t *stamp)
{
- return skaclient_start_b(&a->connection, &a->buffers, path, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ;
+ return skaclient_start_b(&a->connection, &a->buffers, path, 0, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ;
}
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") ;
{