summaryrefslogtreecommitdiff
path: root/debugXML.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2010-11-05 08:17:59 +0100
committerMike Hommey <glandium@debian.org>2010-11-05 08:17:59 +0100
commit2d1849b271fa8697b88d07ba7d78dc83591e1363 (patch)
treeea10e1d707176e335e17cce9ae634cedfe0d5135 /debugXML.c
parenteb5d521a2df72fa829a7f8196b957c696e7ccc58 (diff)
downloadlibxml2-2d1849b271fa8697b88d07ba7d78dc83591e1363.tar.gz
Import upstream version 2.7.8upstream/2.7.8.dfsg
Diffstat (limited to 'debugXML.c')
-rw-r--r--debugXML.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugXML.c b/debugXML.c
index 415889a..c26217a 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -2941,7 +2941,7 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
xmlGenericError(xmlGenericErrorContext,
"Write command requires a filename argument\n");
else
- xmlShellWrite(ctxt, arg, NULL, NULL);
+ xmlShellWrite(ctxt, arg, ctxt->node, NULL);
#endif /* LIBXML_OUTPUT_ENABLED */
} else if (!strcmp(command, "grep")) {
xmlShellGrep(ctxt, arg, ctxt->node, NULL);