mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Prevent empty 'Fetchfile found' message (with -d2) from nmap_fetchfile() when it wasn't actually found.
This commit is contained in:
parent
24e30769e8
commit
ba8defb238
1 changed files with 1 additions and 1 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -2469,7 +2469,7 @@ int nmap_fetchfile(char *filename_returned, int bufferlen, char *file) {
|
|||
filename_returned[0] = '\0';
|
||||
}
|
||||
|
||||
if (o.debugging > 1)
|
||||
if (foundsomething && o.debugging > 1)
|
||||
error("Fetchfile found %s\n", filename_returned);
|
||||
|
||||
return foundsomething;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue