mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 08:59:01 +00:00
Make the message printed when using an absolute path look like the other NSE
debugging messages.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user