mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Abstract nsock logging function to avoid nsock.h inclusion in output.h
This commit is contained in:
parent
6ed754b438
commit
a2c75e0ef4
6 changed files with 11 additions and 7 deletions
|
|
@ -85,7 +85,7 @@ static nsock_pool new_pool (lua_State *L)
|
|||
nsock_pool *nspp;
|
||||
|
||||
/* configure logging */
|
||||
nsock_set_log_function(nmap_nsock_stderr_logger);
|
||||
nmap_set_nsock_logger();
|
||||
nmap_adjust_loglevel(o.scriptTrace());
|
||||
|
||||
nsock_pool_set_device(nsp, o.device);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue