mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +00:00
Fix parsing output from multiple redis commands returning strings.
This commit is contained in:
parent
4a5ff0472a
commit
2a902d05e1
1 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ Response = {
|
|||
if( not(status) ) then
|
||||
return false, "Failed to receive data from server"
|
||||
end
|
||||
-- move past the terminal CRLF
|
||||
local status, crlf = self.socket:receive_buf("\r\n", false)
|
||||
|
||||
return true, { data = data, type = Response.Type.BULK }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue