comparison libpurple/protocols/msn/slp.c @ 24335:d1211d64c825

Didn't mean to check this assert in. I mean, it's probably bad if it happens. I think it'll lead to a crash later on. Or at least some invalid memory accesses.
author Mark Doliner <mark@kingant.net>
date Thu, 13 Nov 2008 06:30:33 +0000
parents c6c714b7841d
children b27908701f66
comparison
equal deleted inserted replaced
24334:d402644d0f98 24335:d1211d64c825
842 842
843 who = msn_object_get_creator(obj); 843 who = msn_object_get_creator(obj);
844 sha1 = msn_object_get_sha1(obj); 844 sha1 = msn_object_get_sha1(obj);
845 845
846 slplink = msn_session_get_slplink(session, who); 846 slplink = msn_session_get_slplink(session, who);
847 g_assert(slplink->swboard != NULL);
848 slplink->swboard = swboard; 847 slplink->swboard = swboard;
849 848
850 /* If the conversation doesn't exist then this is a custom smiley 849 /* If the conversation doesn't exist then this is a custom smiley
851 * used in the first message in a MSN conversation: we need to create 850 * used in the first message in a MSN conversation: we need to create
852 * the conversation now, otherwise the custom smiley won't be shown. 851 * the conversation now, otherwise the custom smiley won't be shown.