diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-10 14:47:31 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-10 14:47:31 (GMT) |
commit | 6db9a44b1616c038ea186c9827c0efb9babedbe9 (patch) | |
tree | 7d9dff7412413755821727c1225001c922a1ddc7 /Source | |
parent | 6e7f83a0ab29355e4319a5649c60545170de5bf2 (diff) | |
download | CMake-6db9a44b1616c038ea186c9827c0efb9babedbe9.zip CMake-6db9a44b1616c038ea186c9827c0efb9babedbe9.tar.gz CMake-6db9a44b1616c038ea186c9827c0efb9babedbe9.tar.bz2 |
Fixed persistant connection problem
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/Curl/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/url.c b/Source/CTest/Curl/url.c index 3216fd6..7771752 100644 --- a/Source/CTest/Curl/url.c +++ b/Source/CTest/Curl/url.c @@ -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", |