From d6066bb332892ff6264d1765d1a3fdea89761ce7 Mon Sep 17 00:00:00 2001 From: pgpickering Date: Sat, 2 Aug 2008 10:40:03 +0000 Subject: [PATCH] fixed bug in snma.lua: fetchResponseValues(): wrong "local" when decoding --- nselib/snmp.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nselib/snmp.lua b/nselib/snmp.lua index 130df175b..112d87a80 100644 --- a/nselib/snmp.lua +++ b/nselib/snmp.lua @@ -526,7 +526,8 @@ end --@result Table with all decoded responses and their OIDs function fetchResponseValues(resp) if (type(resp) == "string") then - local _, resp = decode(resp) + local _ + _, resp = decode(resp) end if (type(resp) ~= "table") then