diff options
Diffstat (limited to 'Source/CTest/Curl/hostip.c')
-rw-r--r-- | Source/CTest/Curl/hostip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/Curl/hostip.c b/Source/CTest/Curl/hostip.c index f407435..118bdac 100644 --- a/Source/CTest/Curl/hostip.c +++ b/Source/CTest/Curl/hostip.c @@ -379,7 +379,7 @@ int Curl_resolv(struct connectdata *conn, CURLcode result; /* default to failure */ - int rc = CURLRESOLV_ERROR; + int rc; *entry = NULL; #ifdef HAVE_SIGSETJMP @@ -391,6 +391,7 @@ int Curl_resolv(struct connectdata *conn, return CURLRESOLV_ERROR; } #endif + rc = CURLRESOLV_ERROR; /* Create an entry id, based upon the hostname and port */ entry_id = create_hostcache_id(hostname, port); |