com php-src: Fix bug #68784: sapi/cli/php_cli_server.c

From: Date: Sat, 10 Jan 2015 02:08:36 +0000
Subject: com php-src: Fix bug #68784: sapi/cli/php_cli_server.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84057@lists.php.net to get a copy of this message
Commit: e4b3d623a240d882ee6d650fe58f0e74ab1218d6 Author: Rasmus Lerdorf <rasmus@php.net> Fri, 9 Jan 2015 18:08:36 -0800 Parents: 3b9057bc6f6b14f242922ada534b670458b12f1e Branches: PHP-5.5 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e4b3d623a240d882ee6d650fe58f0e74ab1218d6 Log: Fix bug #68784 Bugs: https://bugs.php.net/68784 Changed paths: M sapi/cli/php_cli_server.c Diff: diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server..c index 5bfadf1..313667a 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -2347,7 +2347,7 @@ out: if (_router) { pefree(_router, 1); } - if (server_sock >= -1) { + if (server_sock > -1) { closesocket(server_sock); } }

« previous php.cvs (#84057) next »