Skip to content

Commit 6b72fef

Browse files
committed
- fix the fix for bug #52323
1 parent 123ab59 commit 6b72fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ PHPAPI int php_network_connect_socket(php_socket_t sockfd,
376376
*error_code = error;
377377
}
378378

379-
if (error && error_string) {
379+
if (error) {
380380
ret = -1;
381381
if (error_string) {
382382
*error_string = php_socket_strerror(error, NULL, 0);

0 commit comments

Comments
 (0)