From d44896508ce73fdab43ad7ea713817b58432baa0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Aug 2011 23:28:50 +0200 Subject: [PATCH] Curl_SOCKS4: minor code compression --- lib/socks.c | 5 +---- 1 file changed, 1 insertion(+), 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,