mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fixed a global variable being set. I believe the intent was to set
response.body and not result.body.
This commit is contained in:
parent
ec79a3b59b
commit
2038337907
1 changed files with 1 additions and 1 deletions
|
|
@ -980,7 +980,7 @@ local function insert_cache (state, response)
|
|||
response = record.result; -- only modify copy
|
||||
cache[key], cache[#cache+1] = record, record;
|
||||
if state.no_cache_body then
|
||||
result.body = "";
|
||||
response.body = "";
|
||||
end
|
||||
if type(response.body) == "string" then
|
||||
cache.size = cache.size + #response.body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue