diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-09-25 11:27:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-25 11:27:06 +0000 |
commit | ec9acbcda7cf29658e717522bb98cff65eddbccb (patch) | |
tree | 1c2b4859a3f848617d0f23b9d6d4d380dcfe94c3 | |
parent | c0460660d5a0c8f2be98adf79d2f27b5fa8f707a (diff) |
Andrés García found out that Curl_protocol_connect() could return an
uninitialized variable.
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1646,7 +1646,7 @@ CURLcode Curl_protocol_connect(struct connectdata *conn, Curl_addrinfo *hostaddr) { struct SessionHandle *data = conn->data; - CURLcode result; + CURLcode result=CURLE_OK; Curl_pgrsTime(data, TIMER_CONNECT); /* connect done */ |