ZyklonB: fix segfault on total SOCKS failure
This commit is contained in:
parent
7be995f74a
commit
798ed73a8c
@ -1727,6 +1727,8 @@ irc_establish_connection_socks (struct bot_context *ctx,
|
||||
str_map_find (&ctx->config, "socks_password"));
|
||||
while (data.polling)
|
||||
poller_run (poller);
|
||||
if (!data.succeeded)
|
||||
error_set (e, "connection failed");
|
||||
}
|
||||
|
||||
socks_connector_free (connector);
|
||||
|
Loading…
x
Reference in New Issue
Block a user