summaryrefslogtreecommitdiff
path: root/src/idle-ssl-server-connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idle-ssl-server-connection.c')
-rw-r--r--src/idle-ssl-server-connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idle-ssl-server-connection.c b/src/idle-ssl-server-connection.c
index 046ece2..62d06b9 100644
--- a/src/idle-ssl-server-connection.c
+++ b/src/idle-ssl-server-connection.c
@@ -446,6 +446,8 @@ static gboolean ssl_connect_io_func(GIOChannel *src, GIOCondition cond, gpointer
close(data->fd);
data->fd = 0;
+ /* try the next address */
+ data->cur = data->cur->ai_next;
ssl_do_connect(data);
}