From: Daniel Stenberg Date: Thu, 18 Aug 2011 21:28:50 +0000 (+0200) Subject: Curl_SOCKS4: minor code compression X-Git-Tag: curl-7_22_0~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d44896508ce73fdab43ad7ea713817b58432baa0;p=thirdparty%2Fcurl.git Curl_SOCKS4: minor code compression --- diff --git a/lib/socks.c b/lib/socks.c index ac13ed8663..b89d78c6eb 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,