changeset 27704:aac28ab73e9e

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
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 19 Jul 2009 17:56:02 +0000
parents f4556d6f58c4
children 5d75276a575f
files libpurple/protocols/msn/servconn.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }