[Telepathy-commits] [telepathy-idle/master] Fix another infinite loop on connection failure
Jonathon Jongsma
jonathon.jongsma at collabora.co.uk
Mon Feb 16 19:32:36 PST 2009
This is similar to the ssl infinite loop that was fixed earlier. I'm not sure
if this was introduced in a faulty merge or if I somehow overlooked it before :/
Uncovered by the connect/connect-fail.py test
---
src/idle-server-connection.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/idle-server-connection.c b/src/idle-server-connection.c
index fc935a1..930995e 100644
--- a/src/idle-server-connection.c
+++ b/src/idle-server-connection.c
@@ -440,6 +440,7 @@ static gboolean connect_io_func(GIOChannel *src, GIOCondition cond, gpointer dat
break;
}
}
+ connect_data->cur = cur;
if (fd == -1) {
IDLE_DEBUG("could not socket(): %s", g_strerror(errno));
--
1.5.6.5
More information about the telepathy-commits
mailing list