summaryrefslogtreecommitdiffstats
path: root/cgi-bin
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-10 16:08:22 +0000
committerTed Trask <ttrask01@yahoo.com>2016-11-08 18:52:13 +0000
commitdf5ad37e297ffe69ec20c9aec332f81ef7e7e6fa (patch)
tree733cfc8e89018f3087afd038f7c651f2e73fd282 /cgi-bin
parentf27e30740e371b4cd8947797bcf8c91f86b6768e (diff)
downloadacf-provisioning-df5ad37e297ffe69ec20c9aec332f81ef7e7e6fa.tar.bz2
acf-provisioning-df5ad37e297ffe69ec20c9aec332f81ef7e7e6fa.tar.xz
Remove trailing whitespace
(cherry picked from commit 12d3537a7cb975b0a75698f1e1f90e66313a6893)
Diffstat (limited to 'cgi-bin')
-rwxr-xr-xcgi-bin/provisioning.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi-bin/provisioning.cgi b/cgi-bin/provisioning.cgi
index 20f08e1..8926652 100755
--- a/cgi-bin/provisioning.cgi
+++ b/cgi-bin/provisioning.cgi
@@ -48,7 +48,7 @@ function http_code (code)
-- redirect to same file with empty mac
io.stdout:write("Location: " .. string.gsub(path_info, "%x%x%x%x%x%x%x%x%x%x%x%x", "000000000000") .. "\n")
io.stdout:write("Content-Type: \n\n")
- io.stdout:write("<a href=\"".. string.gsub(path_info, "%x%x%x%x%x%x%x%x%x%x%x%x", "000000000000") .."\">New Link</a>")
+ io.stdout:write("<a href=\"".. string.gsub(path_info, "%x%x%x%x%x%x%x%x%x%x%x%x", "000000000000") .."\">New Link</a>")
elseif code == 404 then
io.stdout:write("Status: 404 Not Found\n")
io.stdout:write("Content-Type: \n\n")
@@ -97,7 +97,7 @@ if ( request_method == "GET" ) then
end
-- don't even bother for files that don't contain a MAC
- if mac == nil then
+ if mac == nil then
http_code(404)
log:close()
os.exit()
@@ -191,5 +191,5 @@ elseif ( request_method == "PUT" ) then
http_code(400)
end
end
-log:close()
+log:close()
%>