From 12d3537a7cb975b0a75698f1e1f90e66313a6893 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Aug 2016 16:08:22 +0000 Subject: Remove trailing whitespace --- cgi-bin/provisioning.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cgi-bin') 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("New Link") + io.stdout:write("New Link") 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() %> -- cgit v1.2.3