Fixed persistant connection problem
This commit is contained in:
parent
6e7f83a0ab
commit
6db9a44b16
|
@ -1636,7 +1636,7 @@ static void verboseconnect(struct connectdata *conn,
|
|||
}
|
||||
#else
|
||||
{
|
||||
Curl_addrinfo *hostaddr=dns->addr;
|
||||
Curl_addrinfo *hostaddr=dns?dns->addr:NULL;
|
||||
struct in_addr in;
|
||||
(void) memcpy(&in.s_addr, &conn->serv_addr.sin_addr, sizeof (in.s_addr));
|
||||
infof(data, "Connected to %s (%s) port %d\n",
|
||||
|
|
Loading…
Reference in New Issue