pidgin: f1442997: Don't accidentally add a second login ti...
qulogic at pidgin.im
qulogic at pidgin.im
Mon Aug 8 17:51:02 EDT 2011
----------------------------------------------------------------------
Revision: f1442997e656d73d0aad5c9daf3de27983b7cc1b
Parent: 8a2182773e8151d0913a9f39bdf5e6207302da0e
Author: qulogic at pidgin.im
Date: 08/08/11 17:49:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f1442997e656d73d0aad5c9daf3de27983b7cc1b
Changelog:
Don't accidentally add a second login timeout. This shouldn't happen
with the fix from the previous commit, though.
Changes against parent 8a2182773e8151d0913a9f39bdf5e6207302da0e
patched libpurple/protocols/msn/session.c
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/session.c 9b8bcdf10308352fa6e55d0484062168f4386613
+++ libpurple/protocols/msn/session.c 2315ac5ba17d64b18436b6a5efa05a0a4485c10a
@@ -288,6 +288,8 @@ msn_session_activate_login_timeout(MsnSe
msn_session_activate_login_timeout(MsnSession *session)
{
if (!session->logged_in && session->connected) {
+ if (session->login_timeout)
+ purple_timeout_remove(session->login_timeout);
session->login_timeout =
purple_timeout_add_seconds(MSN_LOGIN_FQY_TIMEOUT,
msn_login_timeout_cb, session);
More information about the Commits
mailing list