mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-09 14:52:52 +08:00
Add default case to chain type switch to remove gcc warning.
This commit is contained in:
parent
1ac3334e99
commit
7d60f55c60
@ -696,7 +696,10 @@ int connect_proxy_chain(int sock, ip_type target_ip,
|
|||||||
p3->port = target_port;
|
p3->port = target_port;
|
||||||
if(SUCCESS != chain_step(ns, p1, p3, pc->tcp_read_time_out))
|
if(SUCCESS != chain_step(ns, p1, p3, pc->tcp_read_time_out))
|
||||||
goto error;
|
goto error;
|
||||||
|
default:
|
||||||
|
/* This should never happen */
|
||||||
|
proxychains_write_log("\nUnhandled chain type %d. This should never happen!\n", ct);
|
||||||
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
proxychains_write_log(TP " OK\n");
|
proxychains_write_log(TP " OK\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user