]> granicus.if.org Git - php/commitdiff
Don't raise two warnings when connection attempt failed.
authorWez Furlong <wez@php.net>
Sun, 22 Jun 2003 10:07:20 +0000 (10:07 +0000)
committerWez Furlong <wez@php.net>
Sun, 22 Jun 2003 10:07:20 +0000 (10:07 +0000)
main/network.c

index fc568cae50b929c3a1dd2ecce96048da27062c1a..2bc20ef826db58e837d32a6a2794b4367114a973 100644 (file)
@@ -512,7 +512,6 @@ int php_hostconnect(const char *host, unsigned short port, int socktype, struct
                
        }
        php_network_freeaddresses(psal);
-       php_error_docref(NULL TSRMLS_CC, E_WARNING, "php_hostconnect: connect failed");
 
 #ifdef PHP_WIN32
        /* Restore the last error */