Skip to content

Commit dbd02ad

Browse files
committed
Fix bug #68784
1 parent 50c721a commit dbd02ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/cli/php_cli_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ static int php_cli_server_ctor(php_cli_server *server, const char *addr, const c
22802280
if (_router) {
22812281
pefree(_router, 1);
22822282
}
2283-
if (server_sock >= -1) {
2283+
if (server_sock > -1) {
22842284
closesocket(server_sock);
22852285
}
22862286
}

0 commit comments

Comments
 (0)