fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
40f8aaedb7
commit
a9483b1f4a
@ -603,9 +603,9 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
|
|||||||
|
|
||||||
if(rc == CURLRESOLV_PENDING) {
|
if(rc == CURLRESOLV_PENDING) {
|
||||||
/* this requires that we're in "wait for resolve" state */
|
/* this requires that we're in "wait for resolve" state */
|
||||||
rc = Curl_wait_for_resolv(conn, &dns);
|
code = Curl_wait_for_resolv(conn, &dns);
|
||||||
if(rc)
|
if(code != CURLE_OK)
|
||||||
return rc;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user