summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSérgio Batista <mail@se.rg.io>2014-06-09 22:10:15 +0800
committerDaniel Veillard <veillard@redhat.com>2014-06-09 22:10:15 +0800
commitd9ea91322502e02140d21441add0c33a0a10b042 (patch)
treee08d46281526248bb245ed550aebdac98c457b80
parent7966a761b77d24a70e8b81057c48319e32fbcc29 (diff)
downloadlibxml2-d9ea91322502e02140d21441add0c33a0a10b042.tar.gz
xmllint was not parsing the --c14n11 flag
Cut and paste error, using the wrong variable
-rw-r--r--xmllint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index 9d46ac55..b297ded1 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2580,7 +2580,7 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) {
fprintf(stderr, "Failed to canonicalize\n");
progresult = XMLLINT_ERR_OUT;
}
- } else if (canonical) {
+ } else if (canonical_11) {
xmlChar *result = NULL;
int size;