From 6199d6b19810fb50b6f3dce3c59c3015d5c2236d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 19 Dec 2014 15:41:06 +0000 Subject: Real fix >.> --- src/conn-tools/s6-ipcserver.c | 2 +- src/conn-tools/s6-tcpserver4.c | 2 +- src/conn-tools/s6-tcpserver6.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conn-tools/s6-ipcserver.c b/src/conn-tools/s6-ipcserver.c index 587e1bb..234127e 100644 --- a/src/conn-tools/s6-ipcserver.c +++ b/src/conn-tools/s6-ipcserver.c @@ -407,7 +407,7 @@ int main (int argc, char const *const *argv, char const *const *envp) while (cont) { - if (iopause_g(x, 1 + (numconn < maxconn), 0, 0) < 0) + if (iopause_g(x, 1 + (numconn < maxconn), 0) < 0) strerr_diefu1sys(111, "iopause") ; if (x[0].revents & IOPAUSE_EXCEPT) strerr_dief1x(111, "trouble with selfpipe") ; diff --git a/src/conn-tools/s6-tcpserver4.c b/src/conn-tools/s6-tcpserver4.c index a0d8e61..77ecebd 100644 --- a/src/conn-tools/s6-tcpserver4.c +++ b/src/conn-tools/s6-tcpserver4.c @@ -378,7 +378,7 @@ int main (int argc, char const *const *argv, char const *const *envp) pidip = inyostack ; ipnum = inyostack + maxconn ; while (cont) { - if (iopause_g(x, 1 + (numconn < maxconn), 0, 0) < 0) + if (iopause_g(x, 1 + (numconn < maxconn), 0) < 0) strerr_diefu1sys(111, "iopause") ; if (x[0].revents & IOPAUSE_EXCEPT) strerr_dief1x(111, "trouble with selfpipe") ; diff --git a/src/conn-tools/s6-tcpserver6.c b/src/conn-tools/s6-tcpserver6.c index 4a4e7d3..ef988d0 100644 --- a/src/conn-tools/s6-tcpserver6.c +++ b/src/conn-tools/s6-tcpserver6.c @@ -378,7 +378,7 @@ int main (int argc, char const *const *argv, char const *const *envp) pidip = inyostack ; ipnum = inyostack + maxconn ; while (cont) { - if (iopause_g(x, 1 + (numconn < maxconn), 0, 0) < 0) + if (iopause_g(x, 1 + (numconn < maxconn), 0) < 0) strerr_diefu1sys(111, "iopause") ; if (x[0].revents & IOPAUSE_EXCEPT) strerr_dief1x(111, "trouble with selfpipe") ; -- cgit v1.2.3