mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
nsock: minor style fix
This commit is contained in:
parent
40e8199d23
commit
0afdee18fe
1 changed files with 2 additions and 2 deletions
|
|
@ -76,9 +76,9 @@ nsock_logger_t NsockLogger = nsock_stderr_logger;
|
|||
|
||||
void nsock_set_log_function(nsock_logger_t logger) {
|
||||
if (logger != NULL)
|
||||
NsockLogger = logger;
|
||||
NsockLogger = logger;
|
||||
else
|
||||
NsockLogger = nsock_stderr_logger;
|
||||
NsockLogger = nsock_stderr_logger;
|
||||
|
||||
nsock_log_debug("Registered external logging function: %p", NsockLogger);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue