diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-23 04:56:40 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-23 04:56:40 +0200 |
commit | 7be129b72c09dd672b75f7cfa68ea3a3e271b18d (patch) | |
tree | c96273b76cd2b3f6eede0ce03f61c8c7c7c0c79f /degesch.c | |
parent | 6c5e0381870ddc9aee2cc8f080733147a0022282 (diff) | |
download | xK-7be129b72c09dd672b75f7cfa68ea3a3e271b18d.tar.gz xK-7be129b72c09dd672b75f7cfa68ea3a3e271b18d.tar.xz xK-7be129b72c09dd672b75f7cfa68ea3a3e271b18d.zip |
degesch: fix one last SOCKS corner case
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4492,6 +4492,10 @@ irc_setup_connector_socks (struct server *s, get_config_string (s->config, "socks_username"), get_config_string (s->config, "socks_password")); free (service); + + // The SOCKS connector can have already failed; we mustn't return true then + if (!s->socks_conn) + FAIL ("SOCKS connection failed"); return true; } |