changeset 5785:5419c37a6b0c

[gaim-migrate @ 6210] Fixed the servconn message queue crash bug. YES! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 07 Jun 2003 02:43:30 +0000
parents 72fb22b9ac98
children f8bee920b14e
files src/protocols/msn/servconn.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/servconn.c	Sat Jun 07 02:35:36 2003 +0000
+++ b/src/protocols/msn/servconn.c	Sat Jun 07 02:43:30 2003 +0000
@@ -115,8 +115,6 @@
 
 			msn_message_ref(msg);
 
-			msn_servconn_unqueue_message(servconn, entry->msg);
-
 			sender = msn_message_get_sender(msg);
 
 			servconn->msg_passport = g_strdup(msn_user_get_passport(sender));
@@ -129,6 +127,8 @@
 
 			msn_message_destroy(msg);
 			entry->msg = NULL;
+
+			msn_servconn_unqueue_message(servconn, entry->msg);
 		}
 	}