Mercurial > pidgin
changeset 18207:d3dfcfb5755c
Fix for a crash when trying to get oscar_status_text for a buddy on an
oscar account that is signed/signing off
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 20 Jun 2007 17:52:56 +0000 |
parents | 66bcb7ff60d8 |
children | 669dc8404b56 |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Wed Jun 20 17:42:32 2007 +0000 +++ b/libpurple/protocols/oscar/oscar.c Wed Jun 20 17:52:56 2007 +0000 @@ -5573,7 +5573,7 @@ status = purple_presence_get_active_status(presence); id = purple_status_get_id(status); - if (!purple_presence_is_online(presence)) + if ((od != NULL) && !purple_presence_is_online(presence)) { char *gname = aim_ssi_itemlist_findparentname(od->ssi.local, b->name); if (aim_ssi_waitingforauth(od->ssi.local, gname, b->name))