[gaim-migrate @ 10760] v0.82

Thu, 26 Aug 2004 02:03:27 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Thu, 26 Aug 2004 02:03:27 +0000
changeset 9881
c63823101be4
parent 9880
beedea39f3c3
child 9882
5d597c6bc44a

[gaim-migrate @ 10760]
Stu thinks this'll fix a crash, and he's not usually wrong

src/protocols/msn/cmdproc.c file | annotate | diff | comparison | revisions
--- a/src/protocols/msn/cmdproc.c	Thu Aug 26 01:36:42 2004 +0000
+++ b/src/protocols/msn/cmdproc.c	Thu Aug 26 02:03:27 2004 +0000
@@ -221,6 +221,12 @@
 {
 	MsnMsgCb cb;
 
+	if (msn_message_get_content_type(msg) == NULL)
+	{
+		gaim_debug_misc("msn", "failed to find message content\n");
+		return;
+	}
+
 	cb = g_hash_table_lookup(cmdproc->cbs_table->msgs,
 							 msn_message_get_content_type(msg));
 

mercurial