summaryrefslogtreecommitdiff
path: root/src/fdholder/s6-fdholderd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-17 21:29:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-17 21:29:00 +0000
commit79fe528287af73c7e1691c7c447972704eb7634b (patch)
tree51981fa7fe44c8bd796cc47da2ece451899cbb3a /src/fdholder/s6-fdholderd.c
parentb11bacf27cd92528f4c2e157414c43b9cebd2b4d (diff)
downloads6-79fe528287af73c7e1691c7c447972704eb7634b.tar.xz
Bugfix: s6-log wasn't parsing regexps correctly (!)
Thanks to Roy Lanek. version: 2.1.1.1
Diffstat (limited to 'src/fdholder/s6-fdholderd.c')
-rw-r--r--src/fdholder/s6-fdholderd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fdholder/s6-fdholderd.c b/src/fdholder/s6-fdholderd.c
index b9091d2..b5e80ec 100644
--- a/src/fdholder/s6-fdholderd.c
+++ b/src/fdholder/s6-fdholderd.c
@@ -800,6 +800,6 @@ int main (int argc, char const *const *argv, char const *const *envp)
else client_add(&i, fd, &rre, &wre, flags) ;
}
}
- return (!!numfds | (!!numconn << 1)) ;
+ return ((!!numfds) | (!!numconn << 1)) ;
}
}