1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 09:59:04 +00:00

Fix parsing output from multiple redis commands returning strings.

This commit is contained in:
dmiller
2017-03-07 21:24:31 +00:00
parent 4a5ff0472a
commit 2a902d05e1

View File

@@ -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