Mercurial > pidgin
diff libpurple/protocols/yahoo/libymsg.c @ 27735: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 | 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 {