mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
return from update_cookies if table is nil
This commit is contained in:
parent
4cd0b65a8d
commit
adfd05f03c
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ end
|
|||
-- TODO: expire cookies
|
||||
local function update_cookies (old, new)
|
||||
if not old then
|
||||
old = {}
|
||||
return
|
||||
end
|
||||
for i, c in ipairs(new) do
|
||||
local add = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue