From: Bob Weinand Date: Mon, 27 Oct 2014 09:44:01 +0000 (+0100) Subject: Fix listening on port X-Git-Tag: php-5.6.3RC1~34^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e8359d360c668b5ca4f5b5dbb62e65b6e033f2c;p=php Fix listening on port --- diff --git a/phpdbg.c b/phpdbg.c index b7fb5e5afc..02a9260eb9 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -1343,7 +1343,7 @@ phpdbg_main: } /* setup remote server if necessary */ - if (!cleaning && listen > 0) { + if (cleaning <= 0 && listen > 0) { server = phpdbg_open_socket(address, listen TSRMLS_CC); if (-1 > server || phpdbg_remote_init(address, listen, server, &socket, &stream TSRMLS_CC) == FAILURE) { exit(0);