Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/libymsg.c @ 28071:7da3bf6d3b2c
Don't crash when opening a tooltip for yahoo contacts who aren't on
the server list. This happens for mobile contacts.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 30 Jul 2009 03:42:26 +0000 |
parents | 908be3822215 |
children | 585684d297a3 63fa5bde1bf6 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Thu Jul 30 03:26:37 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Thu Jul 30 03:42:26 2009 +0000 @@ -3767,7 +3767,7 @@ if (presence != NULL) purple_notify_user_info_add_pair(user_info, _("Presence"), presence); - if (full) { + if (f && full) { YahooPersonalDetails *ypd = &f->ypd; int i; struct {