diff options
Diffstat (limited to 'src/conn-tools/s6-tcpserver6.c')
-rw-r--r-- | src/conn-tools/s6-tcpserver6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn-tools/s6-tcpserver6.c b/src/conn-tools/s6-tcpserver6.c index 7cffb54..90a6e8f 100644 --- a/src/conn-tools/s6-tcpserver6.c +++ b/src/conn-tools/s6-tcpserver6.c @@ -61,6 +61,7 @@ int main (int argc, char const *const *argv, char const *const *envp) if (!flagreuse) newargv[m++] = "-D" ; if (backlog != (unsigned int)-1) { + if (!backlog) backlog = 1 ; newargv[m++] = "-b" ; newargv[m++] = fmt + pos ; pos += uint_fmt(fmt + pos, backlog) ; |