Curl_SOCKS4: minor code compression

This commit is contained in:
Daniel Stenberg 2011-08-18 23:28:50 +02:00
parent 9afb343368
commit d44896508c
1 changed files with 1 additions and 4 deletions

View File

@ -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,