comparison 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
comparison
equal deleted inserted replaced
28067:bd1b1353e8fa 28071:7da3bf6d3b2c
3765 } 3765 }
3766 3766
3767 if (presence != NULL) 3767 if (presence != NULL)
3768 purple_notify_user_info_add_pair(user_info, _("Presence"), presence); 3768 purple_notify_user_info_add_pair(user_info, _("Presence"), presence);
3769 3769
3770 if (full) { 3770 if (f && full) {
3771 YahooPersonalDetails *ypd = &f->ypd; 3771 YahooPersonalDetails *ypd = &f->ypd;
3772 int i; 3772 int i;
3773 struct { 3773 struct {
3774 char *id; 3774 char *id;
3775 char *text; 3775 char *text;