mirror of
https://github.com/nmap/nmap.git
synced 2026-10-22 11:51:52 +00:00
Use log_func, not fprintf, in massdns
This commit is contained in:
parent
27b7951833
commit
4fa4238789
1 changed files with 1 additions and 1 deletions
|
|
@ -1601,7 +1601,7 @@ void DNS::ResolverImpl::etchosts_init(void) {
|
|||
int has_backslash;
|
||||
|
||||
if (!GetWindowsDirectoryA(windows_dir, sizeof(windows_dir)))
|
||||
fprintf(stderr, "massdns: Failed to determine your windows directory\n");
|
||||
log_func(0, "massdns: Failed to determine your windows directory\n");
|
||||
|
||||
// If it has a backslash it's C:\, otherwise something like C:\WINNT
|
||||
has_backslash = (windows_dir[strlen(windows_dir)-1] == '\\');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue