Skip to content

Commit ff3cc63

Browse files
committed
Fix
1 parent 9dccf3a commit ff3cc63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main/network.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,9 +949,10 @@ php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short
949949
}
950950
}
951951
#endif
952+
953+
closesocket(sock);
952954
}
953955

954-
closesocket(sock);
955956
sock = -1;
956957

957958
connected:

0 commit comments

Comments
 (0)