mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
Only set DEBUGLEVEL to 0 in libnetapi when not set already.
Guenther
(This used to be commit 3ace1601ac
)
This commit is contained in:
@ -50,7 +50,9 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
|
||||
return W_ERROR_V(WERR_NOMEM);
|
||||
}
|
||||
|
||||
DEBUGLEVEL = 0;
|
||||
if (!DEBUGLEVEL) {
|
||||
DEBUGLEVEL = 0;
|
||||
}
|
||||
setup_logging("libnetapi", true);
|
||||
|
||||
dbf = x_stderr;
|
||||
|
Reference in New Issue
Block a user