From c7d97ae2c40448d01c48892e01b868158958a3c0 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 5 Apr 2010 00:12:58 +0000 Subject: [PATCH] fix function names in error messages --- nselib/mysql.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nselib/mysql.lua b/nselib/mysql.lua index 2050062b0..42008bb42 100644 --- a/nselib/mysql.lua +++ b/nselib/mysql.lua @@ -172,7 +172,7 @@ end -- @return response table or error message on failure function loginRequest( socket, params, username, password, salt ) - local catch = function() socket:close() stdnse.print_debug("receiveGreeting(): failed") end + local catch = function() socket:close() stdnse.print_debug("loginRequest(): failed") end local try = nmap.new_try(catch) local packetno = 1 local authversion = params.authversion or "post41" @@ -303,7 +303,7 @@ end -- @return table containing the following header, fields and data function decodeQueryResponse( socket ) - local catch = function() socket:close() stdnse.print_debug("sqlQuery(): failed") end + local catch = function() socket:close() stdnse.print_debug("decodeQueryResponse(): failed") end local try = nmap.new_try(catch) local data, header, pos local rs, blocks = {}, {}