mirror of
https://github.com/curl/curl.git
synced 2026-06-01 19:44:16 +03:00
init the dns pointer to NULL for clarity
This commit is contained in:
parent
cd160a66c9
commit
6950aeafcc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue