File: Fix-indentation-4.patch

package info (click to toggle)
xml-security-c 1.7.3-4%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,096 kB
  • sloc: cpp: 47,259; sh: 4,123; makefile: 503
file content (39 lines) | stat: -rw-r--r-- 1,383 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@niif.hu>
Date: Sun, 31 Jan 2016 00:59:52 +0100
Subject: Fix indentation 4

---
 xsec/tools/c14n/c14n.cpp | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/xsec/tools/c14n/c14n.cpp b/xsec/tools/c14n/c14n.cpp
index c3415e9..16315cc 100644
--- a/xsec/tools/c14n/c14n.cpp
+++ b/xsec/tools/c14n/c14n.cpp
@@ -179,17 +179,17 @@ int main(int argc, char **argv) {
     }
 
 	// Create the canonicalizer
-    XSECC14n20010315* canon=NULL;
-    if (subtree)
-	    canon = new XSECC14n20010315(theDOM, subtree);
-    else
-        canon = new XSECC14n20010315(theDOM);
+	XSECC14n20010315* canon=NULL;
+	if (subtree)
+		canon = new XSECC14n20010315(theDOM, subtree);
+	else
+		canon = new XSECC14n20010315(theDOM);
 	canon->setCommentsProcessing(printComments);
 	canon->setUseNamespaceStack(true);
-    if (inclusive11)
-        canon->setInclusive11();
-    else if (exclusive)
-        canon->setExclusive();
+	if (inclusive11)
+		canon->setInclusive11();
+	else if (exclusive)
+		canon->setExclusive();
 
 	// canon->XPathSelectNodes("(/descendant-or-self::node() | /descendant-or-self::node()/attribute::* | /descendant-or-self::node()/namespace::*)[ self::ietf:e1 or (parent::ietf:e1 and not(self::text() or self::e2)) or count (id(\"E3\") | ancestor-or-self::node()) = count (ancestor-or-self::node())]");