[libxml2] 616478 Fix xmllint shell write command
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] 616478 Fix xmllint shell write command
- Date: Thu, 4 Nov 2010 09:49:17 +0000 (UTC)
commit ce5f9a7d6b74aa4c026819efdf549d4046ce26a2
Author: Gwenn Kahz <gwenn kahz gmail com>
Date: Thu Nov 4 10:48:25 2010 +0100
616478 Fix xmllint shell write command
The current node wasn't passed down !
debugXML.c | 2 +-
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]