1
0
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:
Günther Deschner
2008-02-28 17:09:47 +01:00
parent 15f6e27bd5
commit 77a2531810

View File

@ -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;