diff options
author | defanor <defanor@uberspace.net> | 2023-09-05 22:45:26 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-09-07 18:00:36 +0300 |
commit | 1e01dbfc114e4ff96c428d1db38a4908ba8d0438 (patch) | |
tree | c36d4db88486de75285f346c4679bf6e934a7715 /emacs | |
parent | 39b84f12e7f0488157eb64261c8585927a91e194 (diff) |
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.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/xml_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |