mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fix an opposite return code in Windows copy_tree.
This commit is contained in:
parent
059fc7962f
commit
db8d98daba
1 changed files with 1 additions and 1 deletions
|
|
@ -1059,7 +1059,7 @@ static int makedirs(const char *dirname)
|
|||
return -1;
|
||||
|
||||
rc = makedir(dirname);
|
||||
if (rc == 0)
|
||||
if (rc == -1)
|
||||
return -1;
|
||||
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue