# HG changeset patch # User Jeffrey Connelly # Date 1180754766 0 # Node ID 4f54e8c410861364656fd7ba3fe92ca00ee5abf7 # Parent 37499e926a42166be7663cf55e73f2fea4648467 Cosmetic improvement to MsimMessage debug output. diff -r 37499e926a42 -r 4f54e8c41086 libpurple/protocols/myspace/message.c --- a/libpurple/protocols/myspace/message.c Sat Jun 02 02:43:43 2007 +0000 +++ b/libpurple/protocols/myspace/message.c Sat Jun 02 03:26:06 2007 +0000 @@ -325,7 +325,7 @@ return g_strdup(""); } - return msim_msg_pack_using(msg, msim_msg_debug_string_element, "\n", ""); + return msim_msg_pack_using(msg, msim_msg_debug_string_element, "\n", ""); } /** Return a message element data as a new string for a raw protocol message, converting from other types (integer, etc.) if necessary. @@ -493,6 +493,7 @@ if (i % 2) { /* Odd-numbered ordinal is a value. */ + value = token; /* Incoming protocol messages get tagged as MSIM_TYPE_RAW, which diff -r 37499e926a42 -r 4f54e8c41086 libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Sat Jun 02 02:43:43 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Sat Jun 02 03:26:06 2007 +0000 @@ -786,13 +786,9 @@ { gchar *debug_msg; - purple_debug_info("msim", "-------- message -------------\n"); - debug_msg = msim_msg_debug_string(msg); - purple_debug_info("msim", debug_msg); + purple_debug_info("msim", "%s\n", debug_msg); g_free(debug_msg); - - purple_debug_info("msim", "------------------------------\n"); } #endif