summaryrefslogtreecommitdiff
path: root/debian/patches/0031-xmllint-was-not-parsing-the-c14n11-flag.patch
blob: ddab29f14c44bd2671571459046324f538d2ea2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?S=C3=A9rgio_Batista?= <mail@se.rg.io>
Date: Mon, 9 Jun 2014 22:10:15 +0800
Subject: xmllint was not parsing the --c14n11 flag

Cut and paste error, using the wrong variable
---
 xmllint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmllint.c b/xmllint.c
index d69722c..4a5d043 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2573,7 +2573,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;