aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/HttpCompiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/HttpCompiler.cs')
-rw-r--r--src/wixext/HttpCompiler.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wixext/HttpCompiler.cs b/src/wixext/HttpCompiler.cs
index e6246619..cb217147 100644
--- a/src/wixext/HttpCompiler.cs
+++ b/src/wixext/HttpCompiler.cs
@@ -72,7 +72,7 @@ namespace WixToolset.Http
72 { 72 {
73 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node); 73 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node);
74 Identifier id = null; 74 Identifier id = null;
75 var handleExisting = HttpConstants.heReplace; 75 var handleExisting = HandleExisting.Replace;
76 string sddl = null; 76 string sddl = null;
77 string url = null; 77 string url = null;
78 var foundACE = false; 78 var foundACE = false;
@@ -91,13 +91,13 @@ namespace WixToolset.Http
91 switch (handleExistingValue) 91 switch (handleExistingValue)
92 { 92 {
93 case "replace": 93 case "replace":
94 handleExisting = HttpConstants.heReplace; 94 handleExisting = HandleExisting.Replace;
95 break; 95 break;
96 case "ignore": 96 case "ignore":
97 handleExisting = HttpConstants.heIgnore; 97 handleExisting = HandleExisting.Ignore;
98 break; 98 break;
99 case "fail": 99 case "fail":
100 handleExisting = HttpConstants.heFail; 100 handleExisting = HandleExisting.Fail;
101 break; 101 break;
102 default: 102 default:
103 this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, node.Name.LocalName, "HandleExisting", handleExistingValue, "replace", "ignore", "fail")); 103 this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, node.Name.LocalName, "HandleExisting", handleExistingValue, "replace", "ignore", "fail"));