fix compiler warning: enumerated type mixed with another type

This commit is contained in:
Yang Tse 2010-05-31 16:36:05 +02:00
parent 40f8aaedb7
commit a9483b1f4a

View File

@ -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;
} }
/* /*