From 2d1849b271fa8697b88d07ba7d78dc83591e1363 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 5 Nov 2010 08:17:59 +0100 Subject: Import upstream version 2.7.8 --- debugXML.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debugXML.c') 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); -- cgit v1.2.3