Skip to content

rmi.lua: fix confusion "stat" VS "status" in return value check - #1504

Closed
cnotin wants to merge 1 commit into
nmap:masterfrom
cnotin:patch-10
Closed

rmi.lua: fix confusion "stat" VS "status" in return value check#1504
cnotin wants to merge 1 commit into
nmap:masterfrom
cnotin:patch-10

Conversation

@cnotin

@cnotin cnotin commented Mar 5, 2019

Copy link
Copy Markdown

The calls above the changed lines return either "status" or "stat" but in some cases the wrong variable name is used.
The fix is to check the name of the return variable from the line just above.

@nnposter

nnposter commented Mar 6, 2019

Copy link
Copy Markdown

Good catch! Committed with some modifications as r37591.

@nmap-bot nmap-bot closed this in be802e3 Mar 31, 2019
@cnotin
cnotin deleted the patch-10 branch March 31, 2019 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants