projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f8aae
)
fix compiler warning: enumerated type mixed with another type
author
Yang Tse
<yangsita@gmail.com>
Mon, 31 May 2010 14:36:05 +0000
(16:36 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 31 May 2010 14:36:05 +0000
(16:36 +0200)
lib/socks.c
patch
|
blob
|
history
diff --git
a/lib/socks.c
b/lib/socks.c
index
a10a991
..
7b5740b
100644
(file)
--- a/
lib/socks.c
+++ b/
lib/socks.c
@@
-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
;
}
/*