changeset 6773:addc5c8c0df1

[gaim-migrate @ 7310] Remove a series of warnings from startup. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 07 Sep 2003 04:54:13 +0000
parents e719379c8a79
children c4e3cc0693ab
files src/protocols/msn/notification.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sun Sep 07 04:47:22 2003 +0000
+++ b/src/protocols/msn/notification.c	Sun Sep 07 04:54:13 2003 +0000
@@ -106,10 +106,12 @@
 			b = gaim_buddy_new(account,
 							   msn_user_get_passport(user), NULL);
 
+			b->proto_data = user;
+
 			gaim_blist_add_buddy(b, NULL, g, NULL);
 		}
-
-		b->proto_data = user;
+		else
+			b->proto_data = user;
 	}
 
 	/* Find all occurrences of this buddy in the wrong place. */