git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
15f6e27
)
Only set DEBUGLEVEL to 0 in libnetapi when not set already.
author
Günther Deschner
<gd@samba.org>
Thu, 28 Feb 2008 16:09:47 +0000
(17:09 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 28 Feb 2008 16:25:33 +0000
(17:25 +0100)
Guenther
(This used to be commit
3ace1601ac5b5d87d6bfd8aa0afe0c75858b6990
)
source3/lib/netapi/netapi.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.c
b/source3/lib/netapi/netapi.c
index 47b3ba93cf6b3077e1ac7186011186c187de9352..fb091f6e0b2476f3f57211cdfed550313adf13b8 100644
(file)
--- a/
source3/lib/netapi/netapi.c
+++ b/
source3/lib/netapi/netapi.c
@@
-50,7
+50,9
@@
NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
return W_ERROR_V(WERR_NOMEM);
}
return W_ERROR_V(WERR_NOMEM);
}
- DEBUGLEVEL = 0;
+ if (!DEBUGLEVEL) {
+ DEBUGLEVEL = 0;
+ }
setup_logging("libnetapi", true);
dbf = x_stderr;
setup_logging("libnetapi", true);
dbf = x_stderr;