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:
9afb343
)
Curl_SOCKS4: minor code compression
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 18 Aug 2011 21:28:50 +0000
(23:28 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 18 Aug 2011 21:28:50 +0000
(23:28 +0200)
lib/socks.c
patch
|
blob
|
history
diff --git
a/lib/socks.c
b/lib/socks.c
index
ac13ed8
..
b89d78c
100644
(file)
--- a/
lib/socks.c
+++ b/
lib/socks.c
@@
-284,10
+284,7
@@
CURLcode Curl_SOCKS4(const char *proxy_name,
/* Result */
switch(socksreq[1]) {
case 90:
- if(protocol4a)
- infof(data, "SOCKS4a request granted.\n");
- else
- infof(data, "SOCKS4 request granted.\n");
+ infof(data, "SOCKS4%s request granted.\n", protocol4a?"a":"");
break;
case 91:
failf(data,