diff libpurple/protocols/myspace/user.c @ 29724:ca106d1e3d6d

A few struct hiding cleanups
author Gary Kramlich <grim@reaperworld.com>
date Fri, 11 Dec 2009 00:21:45 +0000
parents f541583e31bd
children 356d1f40a56d
line wrap: on
line diff
--- a/libpurple/protocols/myspace/user.c	Wed Dec 09 03:52:00 2009 +0000
+++ b/libpurple/protocols/myspace/user.c	Fri Dec 11 00:21:45 2009 +0000
@@ -54,11 +54,13 @@
 
 	user = purple_buddy_get_protocol_data(buddy);
 	if (create && !user) {
+		PurpleBlistNode *node = PURPLE_BLIST_NODE(buddy);
+
 		/* No MsimUser for this buddy; make one. */
 
 		user = g_new0(MsimUser, 1);
 		user->buddy = buddy;
-		user->id = purple_blist_node_get_int(&buddy->node, "UserID");
+		user->id = purple_blist_node_get_int(node, "UserID");
 		purple_buddy_set_protocol_data(buddy, user);
 	}