comparison src/protocols/msn/user.c @ 9776:1e5ef71c9583

[gaim-migrate @ 10644] A patch from Daniel Atallah that should fix sf bug 1008489: "Windows Messenger BOT Crashes Gaim" Someone MSN-savvy should check this to make sure it's a valid fix. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 19 Aug 2004 01:13:58 +0000
parents 4c1a1be8ce33
children 65b3156f9f48
comparison
equal deleted inserted replaced
9775:4c1a1be8ce33 9776:1e5ef71c9583
283 if (user->msnobj != NULL) 283 if (user->msnobj != NULL)
284 msn_object_destroy(user->msnobj); 284 msn_object_destroy(user->msnobj);
285 285
286 user->msnobj = obj; 286 user->msnobj = obj;
287 287
288 if (user->list_op & MSN_LIST_FL_OP) 288 if ((obj != NULL) && (user->list_op & MSN_LIST_FL_OP))
289 { 289 {
290 /* TODO: I think we need better buddy icon core functions */ 290 /* TODO: I think we need better buddy icon core functions */
291 GaimAccount *account; 291 GaimAccount *account;
292 const char *username; 292 const char *username;
293 293