1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 07:29:01 +00:00

Small typo fix in rpc.lua.

This commit is contained in:
kroosec
2012-07-23 09:58:30 +00:00
parent 6fec00655d
commit 4aebcc973b

View File

@@ -337,7 +337,7 @@ Comm = {
status, tmp = self:GetAdditionalBytes( data, pos, HEADER_LEN - ( data:len() - pos ) )
if not status then
stdnse.print_debug(4,
string.format("Comm.ReceivePacket: failed to call GetAdditionalBytes"))
string.format("Comm.DecodeHeader: failed to call GetAdditionalBytes"))
return -1, nil
end
data = data .. tmp
@@ -357,7 +357,7 @@ Comm = {
status, data = self:GetAdditionalBytes( data, pos, header.verifier.length - 8 )
if not status then
stdnse.print_debug(4,
string.format("Comm.ReceivePacket: failed to call GetAdditionalBytes"))
string.format("Comm.DecodeHeader: failed to call GetAdditionalBytes"))
return -1, nil
end
pos, header.verifier.data = bin.unpack("A" .. header.verifier.length - 8, data, pos )