changeset 17330:dc7ed2ecf0cb

Fix msim_parse() to correctly parse into an MsimMessage *.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Fri, 01 Jun 2007 04:55:42 +0000
parents c4bd017a825e
children 9accf6d6cd61
files libpurple/protocols/myspace/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/message.c	Fri Jun 01 04:47:54 2007 +0000
+++ b/libpurple/protocols/myspace/message.c	Fri Jun 01 04:55:42 2007 +0000
@@ -483,7 +483,7 @@
 
 			/* Always append strings, since protocol has no incoming
 			 * type information for each field. */
-			msim_msg_append(msg, key, MSIM_TYPE_STRING, value);
+			msg = msim_msg_append(msg, g_strdup(key), MSIM_TYPE_STRING, value);
 #ifdef MSIM_DEBUG_PARSE
 			purple_debug_info("msim", "insert string: |%s|=|%s|\n", key, value);
 #endif