[libxml2] xmllint was not parsing the --c14n11 flag



commit d9ea91322502e02140d21441add0c33a0a10b042
Author: Sérgio Batista <mail se rg io>
Date:   Mon Jun 9 22:10:15 2014 +0800

    xmllint was not parsing the --c14n11 flag
    
    Cut and paste error, using the wrong variable

 xmllint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xmllint.c b/xmllint.c
index 9d46ac5..b297ded 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]