1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

Curl_SOCKS4: minor code compression

This commit is contained in:
Daniel Stenberg 2011-08-18 23:28:50 +02:00
parent 9afb343368
commit d44896508c

View File

@ -284,10 +284,7 @@ CURLcode Curl_SOCKS4(const char *proxy_name,
/* Result */ /* Result */
switch(socksreq[1]) { switch(socksreq[1]) {
case 90: case 90:
if(protocol4a) infof(data, "SOCKS4%s request granted.\n", protocol4a?"a":"");
infof(data, "SOCKS4a request granted.\n");
else
infof(data, "SOCKS4 request granted.\n");
break; break;
case 91: case 91:
failf(data, failf(data,