[ekg2-commit] ekg2: commands.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Sob, 8 Wrz 2007, 22:49:20 CEST
Module name: ekg2
Changes by: peres 2007-09-08 22:49:18
Modified files:
commands.c
Log message:
Disabling message escaping with GPG enabled. Thanks for bugreport to Marek
Marczykowski.
Index: commands.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/jabber/commands.c,v
diff -d -u -r1.198 -r1.199
--- commands.c 6 Sep 2007 13:32:43 -0000 1.198
+++ commands.c 8 Sep 2007 20:49:17 -0000 1.199
@@ -528,10 +528,12 @@
}
{
- char *tmp = xml_escape(msg);
+ if (session_int_get(session, "__gpg_enabled") == 1)
+ msg = xstrdup(msg);
+ else
+ msg = xml_escape(msg);
if (!config_use_unicode)
xfree(s);
- msg = tmp;
}
} else msg = tlen_encode(msg);
Więcej informacji o liście dyskusyjnej ekg2-commit