mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Small typo fix in rpc.lua.
This commit is contained in:
parent
6fec00655d
commit
4aebcc973b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue