pidgin: 38b87e46: if I return FALSE to remove the timeout ...

khc at pidgin.im khc at pidgin.im
Sun Jul 19 14:00:36 EDT 2009


-----------------------------------------------------------------
Revision: 38b87e46724433c14727a9952319c4abcad9db14
Ancestor: e203c427bfa7fe568764fe445d008e1867dd5740
Author: khc at pidgin.im
Date: 2009-07-19T17:56:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/38b87e46724433c14727a9952319c4abcad9db14

Modified files:
        libpurple/protocols/msn/servconn.c

ChangeLog: 

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


-------------- next part --------------
============================================================
--- libpurple/protocols/msn/servconn.c	10329bede882b5b6f7802e37a32770b0b900b6a8
+++ libpurple/protocols/msn/servconn.c	4aa4a14bc4b230628741b76dca44582c0dc3349c
@@ -296,6 +296,7 @@ servconn_idle_timeout_cb(MsnServConn *se
 servconn_idle_timeout_cb(MsnServConn *servconn)
 {
 	msn_servconn_disconnect(servconn);
+	servconn->timeout_handle = 0;
 	return FALSE;
 }
 


More information about the Commits mailing list