From 6b19ed8bd19de2da6c33e0ee470da80536ce97e8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 20 Dec 2014 01:14:47 +0000 Subject: s6-ioconnect fix --- src/conn-tools/s6-ioconnect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conn-tools/s6-ioconnect.c') diff --git a/src/conn-tools/s6-ioconnect.c b/src/conn-tools/s6-ioconnect.c index 747a583..a0217bb 100644 --- a/src/conn-tools/s6-ioconnect.c +++ b/src/conn-tools/s6-ioconnect.c @@ -145,7 +145,7 @@ int main (int argc, char const *const *argv) if (x[0].revents & IOPAUSE_READ) handle_signals() ; - for (i = 0 ; i < 2 ; i++) if (a[i][1].xindex < 4) + for (i = 0 ; i < 2 ; i++) if (a[i][1].xindex < 5) { if (x[a[i][1].xindex].revents & IOPAUSE_WRITE) { @@ -166,7 +166,7 @@ int main (int argc, char const *const *argv) } } - for (i = 0 ; i < 2 ; i++) if (a[i][0].xindex < 4) + for (i = 0 ; i < 2 ; i++) if (a[i][0].xindex < 5) { if (x[a[i][0].xindex].revents & IOPAUSE_READ) { -- cgit v1.2.3