]> granicus.if.org Git - php/commitdiff
- fix the fix for bug #52323
authorPierre Joye <pajoye@php.net>
Wed, 8 Sep 2010 11:51:11 +0000 (11:51 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 8 Sep 2010 11:51:11 +0000 (11:51 +0000)
main/network.c

index 1e022a135c47c6051855ea0cd1d0fc69cd6ac302..4c47305e98e1a4fcc188dd855874685b07880622 100644 (file)
@@ -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);