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:
parent
9afb343368
commit
d44896508c
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user