changeset 14374:d38b0839e765

[gaim-migrate @ 17080] This should fix bleeter's crash, the backtrace shows the group is null. I probably need see the packets to fix it better, this will just ignore buddies not in a group instead of figuring out their group. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 29 Aug 2006 14:18:04 +0000
parents a4542693481d
children f597127368de
files libgaim/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/yahoo/yahoo.c	Tue Aug 29 04:33:53 2006 +0000
+++ b/libgaim/protocols/yahoo/yahoo.c	Tue Aug 29 14:18:04 2006 +0000
@@ -499,6 +499,8 @@
 			grp = yahoo_string_decode(gc, pair->value, FALSE);
 			break;
 		case 7: /* buddy's s/n */
+			if (!grp) /* this buddy isn't in a group?! */
+				break;
 			g_free(norm_bud);
 			norm_bud = g_strdup(gaim_normalize(account, pair->value));
 			f = yahoo_friend_find_or_new(gc, norm_bud);