From: Pierre Joye Date: Wed, 8 Sep 2010 11:51:11 +0000 (+0000) Subject: - fix the fix for bug #52323 X-Git-Tag: php-5.4.0alpha1~191^2~981 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b72fef1347d8027209a6941f0ad8765a30fb129;p=php - fix the fix for bug #52323 --- diff --git a/main/network.c b/main/network.c index 1e022a135c..4c47305e98 100644 --- a/main/network.c +++ b/main/network.c @@ -376,7 +376,7 @@ ok: *error_code = error; } - if (error && error_string) { + if (error) { ret = -1; if (error_string) { *error_string = php_socket_strerror(error, NULL, 0);