adium: 094626e8: When building the attributes, set the GL...

zacw at adiumx.com zacw at adiumx.com
Mon Apr 13 23:55:36 EDT 2009


-----------------------------------------------------------------
Revision: 094626e87db8585973e6d853818b32a11e16e9ce
Ancestor: 57a700ccec4236d1b78682cd24d735b38604d0ea
Author: zacw at adiumx.com
Date: 2009-04-14T03:35:24
Branch: im.pidgin.adium
URL: http://d.pidgin.im/viewmtn/revision/info/094626e87db8585973e6d853818b32a11e16e9ce

Modified files:
        libpurple/protocols/irc/msgs.c

ChangeLog: 

When building the attributes, set the GLists instead of not.

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/msgs.c	4af690dd003debb2edd1025517a29972bf4cf721
+++ libpurple/protocols/irc/msgs.c	48563a02f945387cf9cb439f8f114d2252f11663
@@ -439,11 +439,11 @@ void irc_msg_who(struct irc_conn *irc, c
 		
 		GList *keys = NULL, *values = NULL;
 		
-		g_list_append(keys, "userhost");
-		g_list_append(values, userhost);
+		keys = g_list_append(keys, "userhost");
+		values = g_list_append(values, userhost);
 		
-		g_list_append(keys, "realname");
-		g_list_append(values, realname);
+		keys = g_list_append(keys, "realname");
+		values = g_list_append(values, realname);
 		
 		purple_conv_chat_cb_set_attributes(chat, cb, keys, values);
 		


More information about the Commits mailing list