mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-05-28 04:03:29 -04:00
Fix leftover 'if (false) ;' statements
Commit a4b8f653ee removed the #ifdefs for ENABLE_HTTP_PROXY and
ENABLE_SOCKS, thus making this "if (false) ; else if (...)" construct
superfluous. Spotted by David Sommerseth.
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1429649352-21034-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9603
This commit is contained in:
parent
857c04ef06
commit
0e3f894098
1 changed files with 2 additions and 6 deletions
|
|
@ -1575,10 +1575,8 @@ link_socket_init_phase1 (struct link_socket *sock,
|
|||
sock->sd = accept_from->sd;
|
||||
}
|
||||
|
||||
if (false)
|
||||
;
|
||||
/* are we running in HTTP proxy mode? */
|
||||
else if (sock->http_proxy)
|
||||
if (sock->http_proxy)
|
||||
{
|
||||
ASSERT (sock->info.proto == PROTO_TCP_CLIENT);
|
||||
ASSERT (!sock->inetd);
|
||||
|
|
@ -1793,9 +1791,7 @@ phase2_tcp_client (struct link_socket *sock, struct signal_info *sig_info)
|
|||
if (sig_info->signal_received)
|
||||
return;
|
||||
|
||||
if (false)
|
||||
;
|
||||
else if (sock->http_proxy)
|
||||
if (sock->http_proxy)
|
||||
{
|
||||
proxy_retry = establish_http_proxy_passthru (sock->http_proxy,
|
||||
sock->sd,
|
||||
|
|
|
|||
Loading…
Reference in a new issue