Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 9880:0c2096ea15c5 | 9881:17dbed6eebf5 |
|---|---|
| 218 | 218 |
| 219 void | 219 void |
| 220 msn_cmdproc_process_msg(MsnCmdProc *cmdproc, MsnMessage *msg) | 220 msn_cmdproc_process_msg(MsnCmdProc *cmdproc, MsnMessage *msg) |
| 221 { | 221 { |
| 222 MsnMsgCb cb; | 222 MsnMsgCb cb; |
| 223 | |
| 224 if (msn_message_get_content_type(msg) == NULL) | |
| 225 { | |
| 226 gaim_debug_misc("msn", "failed to find message content\n"); | |
| 227 return; | |
| 228 } | |
| 223 | 229 |
| 224 cb = g_hash_table_lookup(cmdproc->cbs_table->msgs, | 230 cb = g_hash_table_lookup(cmdproc->cbs_table->msgs, |
| 225 msn_message_get_content_type(msg)); | 231 msn_message_get_content_type(msg)); |
| 226 | 232 |
| 227 if (cb == NULL) | 233 if (cb == NULL) |
