From 46061f4f3cad58acefeab840f9627ba9293568bb Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 15 Dec 2014 14:51:07 -0500 Subject: Remove some unnecessary if statements --- src/common/server.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/common') diff --git a/src/common/server.c b/src/common/server.c index f42ec20c..3e9e256f 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -1517,10 +1517,8 @@ server_child (server * serv) if (!serv->dont_use_proxy) /* blocked in serverlist? */ { - if (FALSE) - ; #ifdef USE_LIBPROXY - else if (prefs.hex_net_proxy_type == 5) + if (prefs.hex_net_proxy_type == 5) { char **proxy_list; char *url, *proxy; @@ -1554,7 +1552,7 @@ server_child (server * serv) g_free (url); } #endif - else if (prefs.hex_net_proxy_host[0] && + if (prefs.hex_net_proxy_host[0] && prefs.hex_net_proxy_type > 0 && prefs.hex_net_proxy_use != 2) /* proxy is NOT dcc-only */ { -- cgit 1.4.1