Mercurial > pidgin.yaz
changeset 15260:c7acd154bcb3
[gaim-migrate @ 18049]
fix an odd crash
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 23 Dec 2006 05:42:41 +0000 |
parents | cfdd47296dbc |
children | 5176a9f30ba3 |
files | libgaim/protocols/jabber/roster.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/jabber/roster.c Fri Dec 22 19:15:38 2006 +0000 +++ b/libgaim/protocols/jabber/roster.c Sat Dec 23 05:42:41 2006 +0000 @@ -331,9 +331,11 @@ { GaimBuddy *b = gaim_find_buddy(gc->account, name); - gaim_blist_alias_buddy(b, alias); + if(b != NULL) { + gaim_blist_alias_buddy(b, alias); - jabber_roster_update(gc->proto_data, name, NULL); + jabber_roster_update(gc->proto_data, name, NULL); + } } void jabber_roster_group_change(GaimConnection *gc, const char *name,