changeset 687:426145046b93

Minor format change in IQ id string
author Mikael Berthe <mikael@lilotux.net>
date Tue, 07 Feb 2006 21:14:47 +0100
parents 98de2d166a11
children bdc1184f6877
files mcabber/src/jab_iq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/jab_iq.c	Mon Feb 06 21:06:19 2006 +0100
+++ b/mcabber/src/jab_iq.c	Tue Feb 07 21:14:47 2006 +0100
@@ -55,7 +55,7 @@
   new_iqs->type = type;
   new_iqs->xmldata = jutil_iqnew(type, (char*)ns);
   if (prefix)
-    new_iqs->id = g_strdup_printf("%s%d", prefix, iqs_idn);
+    new_iqs->id = g_strdup_printf("%s_%d", prefix, iqs_idn);
   else
     new_iqs->id = g_strdup_printf("%d", iqs_idn);
   xmlnode_put_attrib(new_iqs->xmldata, "id", new_iqs->id);