1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05: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 */
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,