soc.2008.yahoo: f46bf53b: remove connection timeout if already con...
sulabh at soc.pidgin.im
sulabh at soc.pidgin.im
Fri Nov 14 03:10:27 EST 2008
-----------------------------------------------------------------
Revision: f46bf53bcf47f56e3fcab09097c6f7c4c047273b
Ancestor: 2c1fd96396144b8b26cce3b107009dcccb8dec95
Author: sulabh at soc.pidgin.im
Date: 2008-11-14T08:08:59
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/f46bf53bcf47f56e3fcab09097c6f7c4c047273b
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
remove connection timeout if already connected
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c 1b85c75715e894f902bdbc821934c3a8476da2ea
+++ libpurple/protocols/yahoo/yahoo.c 3b4e1f9665914bdac77533171a474ca1c49dccf4
@@ -2597,6 +2597,10 @@ static void yahoo_p2p_server_send_connec
return;
}
+ /* remove timeout */
+ purple_timeout_remove(yd->yahoo_p2p_server_timeout_handle);
+ yd->yahoo_p2p_server_timeout_handle = 0;
+
/* remove watcher and close p2p server */
purple_input_remove(yd->yahoo_p2p_server_watcher);
close(yd->yahoo_local_p2p_server_fd);
More information about the Commits
mailing list