# HG changeset patch # User Mike Ruprecht # Date 1248925346 0 # Node ID 7da3bf6d3b2c92b67027ed4e4121eb1acbeaafcf # Parent bd1b1353e8fa3148a5c38ed87a76d81bdec3cc73 Don't crash when opening a tooltip for yahoo contacts who aren't on the server list. This happens for mobile contacts. diff -r bd1b1353e8fa -r 7da3bf6d3b2c libpurple/protocols/yahoo/libymsg.c --- 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 {