From 4aebcc973bf06be7347329290e782ccf5664b9b6 Mon Sep 17 00:00:00 2001 From: kroosec Date: Mon, 23 Jul 2012 09:58:30 +0000 Subject: [PATCH] Small typo fix in rpc.lua. --- nselib/rpc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nselib/rpc.lua b/nselib/rpc.lua index 932b5232b..d1cfdd748 100644 --- a/nselib/rpc.lua +++ b/nselib/rpc.lua @@ -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 )