summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Arlott <sa.me.uk>2012-09-03 11:01:26 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-09-03 11:01:26 +0200
commit36356521a1b0379cb0ff31bffa08b706f98635fe (patch)
tree2c2a874355a24d5736c1d405c587597960f375a1 /src
parent055116f2b7b91975dad108d5427ccd84c8d4f5a3 (diff)
downloadweechat-36356521a1b0379cb0ff31bffa08b706f98635fe.zip
irc: switch to next address after a timeout when connecting to server (bug #37216)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 716f5d58b..764d19acb 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -3158,7 +3158,7 @@ irc_server_connect_cb (void *data, int status, int gnutls_rc,
error);
}
irc_server_close_connection (server);
- irc_server_reconnect_schedule (server);
+ irc_server_switch_address (server, 1);
break;
}