From: Wez Furlong Date: Sun, 22 Jun 2003 10:07:20 +0000 (+0000) Subject: Don't raise two warnings when connection attempt failed. X-Git-Tag: php-4.3.3RC2~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b390e0ebf11810268db3e55a80c78aa5b4bbb1d9;p=php Don't raise two warnings when connection attempt failed. --- diff --git a/main/network.c b/main/network.c index fc568cae50..2bc20ef826 100644 --- a/main/network.c +++ b/main/network.c @@ -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 */