From 521226cd63f7886cb6cc928dd917fc659eb212c4 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 4 Nov 2015 03:57:17 +0000 Subject: [PATCH] Fix a bug with declaring parse_set_cookie local twice --- nselib/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/http.lua b/nselib/http.lua index 08e89422a..b58009228 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -726,7 +726,7 @@ end -- along with the backwards-compatibility suggestions from its section 10, -- "HISTORICAL". Values need not be quoted, but if they start with a quote they -- will be interpreted as a quoted string. -local function parse_set_cookie(s) +parse_set_cookie = function (s) local name, value local _