changeset 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 bd1b1353e8fa
children eb54b1f7034b 49cb3fc2c01a
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 {