Mercurial > pidgin.yaz
changeset 32223:c164dcad5e28
Don't accidentally add a second login timeout. This shouldn't happen
with the fix from the previous commit, though.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 08 Aug 2011 21:49:06 +0000 |
parents | 9eb5b85c7089 |
children | 257b01353334 |
files | libpurple/protocols/msn/session.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.c Mon Aug 08 21:43:19 2011 +0000 +++ b/libpurple/protocols/msn/session.c Mon Aug 08 21:49:06 2011 +0000 @@ -288,6 +288,8 @@ 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);