Removed some whitespace insertions that were altering the structure of the
authorKirk Haines <wyhaines@gmail.com>
Thu, 18 Dec 2008 11:34:23 -0700
changeset 576 18caa29fe013
parent 573 038320b7357e
child 577 33f1a77acc72
Removed some whitespace insertions that were altering the structure of the generated XML.
loudmouth/lm-message-node.c
--- a/loudmouth/lm-message-node.c	Sun Nov 30 09:32:17 2008 +0100
+++ b/loudmouth/lm-message-node.c	Thu Dec 18 11:34:23 2008 -0700
@@ -490,12 +490,13 @@
 
     for (child = node->children; child; child = child->next) {
         gchar *child_str = lm_message_node_to_string (child);
-        g_string_append_c (ret, ' ');
+/*        g_string_append_c (ret, ' '); */
         g_string_append (ret, child_str);
         g_free (child_str);
     }
 
-    g_string_append_printf (ret, "</%s>\n", node->name);
+    /* g_string_append_printf (ret, "</%s>\n", node->name); */
+    g_string_append_printf (ret, "</%s>", node->name);
     
     return g_string_free (ret, FALSE);
 }