1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

Fixed wrong variable names that were interpreted as globals.

This commit is contained in:
batrick
2010-02-08 02:48:07 +00:00
parent 470b013612
commit 8200787f7a

View File

@@ -100,7 +100,7 @@ function toBson(dict)
if dict._id then
local status,res = _element_to_bson("_id", dict._id)
if not status then return false, res end
element = element..res
elements = elements..res
end
--Concatenate binary values
for key, value in pairs( dict ) do
@@ -409,7 +409,7 @@ local function createQuery(collectionName, query)
local status, error = packet:addBSON(query)
if not status then
return statuts, error
return status, error
end
return true, packet:data()