mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
init the dns pointer to NULL for clarity
This commit is contained in:
parent
cd160a66c9
commit
6950aeafcc
@ -380,7 +380,7 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
|
||||
case CURLM_STATE_WAITRESOLVE:
|
||||
/* awaiting an asynch name resolve to complete */
|
||||
{
|
||||
struct Curl_dns_entry *dns;
|
||||
struct Curl_dns_entry *dns = NULL;
|
||||
|
||||
/* check if we have the name resolved by now */
|
||||
easy->result = Curl_is_resolved(easy->easy_conn, &dns);
|
||||
|
Loading…
Reference in New Issue
Block a user