From 1e01dbfc114e4ff96c428d1db38a4908ba8d0438 Mon Sep 17 00:00:00 2001 From: defanor Date: Tue, 5 Sep 2023 22:45:26 +0300 Subject: Implement XML serialization in C and in Rust Continuing replacement of libxml2, planning to use libexpat or a Rust XML parser as an alternative for XML parsing. --- emacs/xml_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/xml_interface.c b/emacs/xml_interface.c index 3dabf96..76e888c 100644 --- a/emacs/xml_interface.c +++ b/emacs/xml_interface.c @@ -26,7 +26,7 @@ and EOF ones, to simplify reading with libxml2. void print_xml (rexmpp_xml_t *node) { - char *s = rexmpp_xml_serialize(node); + char *s = rexmpp_xml_serialize(node, 0); printf("%s%c\n", s, '\0'); free(s); } -- cgit v1.2.3