From b573f87ecea213e9f8526f34c95224cec699bc44 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 16 Nov 2014 20:25:57 +0100 Subject: untabify --- src/daq/nginx-lua/s5-nginx.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/daq/nginx-lua/s5-nginx.lua b/src/daq/nginx-lua/s5-nginx.lua index ab62bab..a5fb798 100644 --- a/src/daq/nginx-lua/s5-nginx.lua +++ b/src/daq/nginx-lua/s5-nginx.lua @@ -109,11 +109,11 @@ end function _SFIVE.fetch() ngx.log(ngx.INFO, "SFive(fetch): client connected") - local ok, err = ngx.on_abort(function() ngx.exit(ngx.HTTP_GONE) end) - if not ok then - ngx.log(ngx.ERR, "failed to register the on_abort callback: ", err) - ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR) - end + local ok, err = ngx.on_abort(function() ngx.exit(ngx.HTTP_GONE) end) + if not ok then + ngx.log(ngx.ERR, "failed to register the on_abort callback: ", err) + ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR) + end while true do logs = sfive_data:get_keys() -- cgit v1.2.3