From: Sascha Schumann Date: Tue, 20 May 2003 12:45:35 +0000 (+0000) Subject: initialize err X-Git-Tag: BEFORE_FD_REVERT~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4557989eff89bcf549cb96ed3beb6f6489e5b69c;p=php initialize err --- diff --git a/main/network.c b/main/network.c index 3c84f64ecf..97c63604d1 100644 --- a/main/network.c +++ b/main/network.c @@ -410,7 +410,7 @@ int php_hostconnect(const char *host, unsigned short port, int socktype, struct struct sockaddr **sal, **psal; struct timeval individual_timeout; int set_timeout = 0; - int err; + int err = 0; n = php_network_getaddresses(host, &sal TSRMLS_CC);