Mercurial > pidgin.yaz
diff src/protocols/msn/cmdproc.c @ 9881:17dbed6eebf5
[gaim-migrate @ 10760]
Stu thinks this'll fix a crash, and he's not usually wrong
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 26 Aug 2004 02:03:27 +0000 |
parents | 9981fcce85c1 |
children | 700f8fb9e581 |
line wrap: on
line diff
--- 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));