diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-08-18 23:28:50 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-08-18 23:28:50 +0200 |
commit | d44896508ce73fdab43ad7ea713817b58432baa0 (patch) | |
tree | 70694ec42aa3e596fee6f7bba1b8c0c1dcfd8a06 /lib/socks.c | |
parent | 9afb343368280b76135889976b5f351c94f58823 (diff) | |
download | curl-d44896508ce73fdab43ad7ea713817b58432baa0.tar.gz |
Curl_SOCKS4: minor code compression
Diffstat (limited to 'lib/socks.c')
-rw-r--r-- | lib/socks.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/socks.c b/lib/socks.c index ac13ed866..b89d78c6e 100644 --- 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, |