mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:17:22 +03:00
fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
40f8aaedb7
commit
a9483b1f4a
1 changed files with 3 additions and 3 deletions
|
|
@ -603,9 +603,9 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
|
|||
|
||||
if(rc == CURLRESOLV_PENDING) {
|
||||
/* this requires that we're in "wait for resolve" state */
|
||||
rc = Curl_wait_for_resolv(conn, &dns);
|
||||
if(rc)
|
||||
return rc;
|
||||
code = Curl_wait_for_resolv(conn, &dns);
|
||||
if(code != CURLE_OK)
|
||||
return code;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue