1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Actually show the error message from ReceivePacket failure.

This commit is contained in:
david
2013-06-19 23:53:37 +00:00
parent d1eae0196a
commit e7f22c5aed

View File

@@ -191,7 +191,7 @@ local rpcGrinder = function(host, port, iterator, result)
status, data = rpcConn:ReceivePacket() status, data = rpcConn:ReceivePacket()
if not status then if not status then
stdnse.print_debug("%s ReceivePacket(): %s", SCRIPT_NAME, err) stdnse.print_debug("%s ReceivePacket(): %s", SCRIPT_NAME, data)
condvar "signal"; condvar "signal";
return return
end end