mirror of
https://github.com/nmap/nmap.git
synced 2026-10-24 04:43:03 +00:00
Make the message printed when using an absolute path look like the other NSE
debugging messages.
This commit is contained in:
parent
bc24f8d6c4
commit
b0d224e0da
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ static bool filename_is_absolute(const char *file) {
|
|||
int init_fetchfile_absolute(char *path, size_t path_len, char *file) {
|
||||
if (filename_is_absolute(file)) {
|
||||
if (o.debugging > 1)
|
||||
log_write(LOG_STDOUT, "Trying absolute path %s.\n", file);
|
||||
log_write(LOG_STDOUT, "%s: Trying absolute path %s\n", SCRIPT_ENGINE, file);
|
||||
Strncpy(path, file, path_len);
|
||||
return nmap_fileexistsandisreadable(file);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue