if I return FALSE to remove the timeout handle, I should probably set

Sun, 19 Jul 2009 17:56:02 +0000

author
Ka-Hing Cheung <khc@pidgin.im>
date
Sun, 19 Jul 2009 17:56:02 +0000
changeset 27887
6a625d24cbcc
parent 27886
778a2a10c37d
child 27888
cf7b08d09da6

if I return FALSE to remove the timeout handle, I should probably set
timeout handle to 0 as well so we won't try to remove the non-existent handle
later

Refs #3330

libpurple/protocols/msn/servconn.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/msn/servconn.c	Sun Jul 19 17:45:08 2009 +0000
+++ b/libpurple/protocols/msn/servconn.c	Sun Jul 19 17:56:02 2009 +0000
@@ -296,6 +296,7 @@
 servconn_idle_timeout_cb(MsnServConn *servconn)
 {
 	msn_servconn_disconnect(servconn);
+	servconn->timeout_handle = 0;
 	return FALSE;
 }
 

mercurial