pidgin: b974feb7: Don't try to report a connection error i...

qulogic at pidgin.im qulogic at pidgin.im
Fri Aug 8 02:11:10 EDT 2008


-----------------------------------------------------------------
Revision: b974feb703eea2b0af500108fb8839ca4277a988
Ancestor: 0a5f6b1566c520a6ee25d20d4386cb4f075afe98
Author: qulogic at pidgin.im
Date: 2008-08-08T02:26:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b974feb703eea2b0af500108fb8839ca4277a988

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

ChangeLog: 

Don't try to report a connection error if the MSN session is being 
destroyed.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/session.c	c68589a526c0a381bcf3e58ace8e5346ad92de2c
+++ libpurple/protocols/msn/session.c	bb919b5947352f1dbf468580d7f4aec6abc70f3f
@@ -343,6 +343,9 @@ msn_session_set_error(MsnSession *sessio
 	PurpleConnectionError reason;
 	char *msg;
 
+	if (session->destroying)
+		return;
+
 	gc = purple_account_get_connection(session->account);
 
 	switch (error)


More information about the Commits mailing list