diff options
Diffstat (limited to 'tests/xml_parse_and_print.c')
-rw-r--r-- | tests/xml_parse_and_print.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/xml_parse_and_print.c b/tests/xml_parse_and_print.c index ad6bbca..c76b06f 100644 --- a/tests/xml_parse_and_print.c +++ b/tests/xml_parse_and_print.c @@ -11,6 +11,7 @@ int main () { "</foo>"; rexmpp_xml_t *xml = rexmpp_xml_parse (str, strlen(str)); + printf("Input:\n%s\n\n", str); if (xml == NULL) { ret = -1; } else { @@ -18,6 +19,7 @@ int main () { if (str_new == NULL) { ret = -2; } else { + printf("Output:\n%s\n", str_new); ret = strcmp(str, str_new); free(str_new); } |