1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

trivial: move a statement back closer to its context

This commit is contained in:
kris
2010-09-17 20:30:27 +00:00
parent 4e46c99329
commit 10d23e924f

View File

@@ -153,8 +153,6 @@ void set_hostinfo(lua_State *L, Target *currenths) {
setnfield(L, -1, "timeout", (lua_Number) currenths->to.timeout / 1000000.0);
lua_setfield(L, -2, "times");
FingerPrintResults *FPR = currenths->FPR;
/* add distance (in hops) if traceroute has been performed */
if (currenths->traceroute_hops.size() > 0)
{
@@ -181,6 +179,8 @@ void set_hostinfo(lua_State *L, Target *currenths) {
lua_setfield(L, -2, "traceroute");
}
FingerPrintResults *FPR = currenths->FPR;
/* if there has been an os scan which returned a pretty certain
* result, we will use it in the scripts
* matches which aren't perfect are not needed in the scripts