git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f82637
)
Fix segfault when using DEBUG() in the merged build.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 19 Oct 2008 12:14:55 +0000
(14:14 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 19 Oct 2008 12:14:55 +0000
(14:14 +0200)
lib/util/debug.c
patch
|
blob
|
history
diff --git
a/lib/util/debug.c
b/lib/util/debug.c
index b6edb908c7309edb9cf2890fd05bd9e7f9a33ba1..faec52aec8244d8d8a8b8f048e063241fe39c40d 100644
(file)
--- a/
lib/util/debug.c
+++ b/
lib/util/debug.c
@@
-33,7
+33,10
@@
*/
int _debug_level = 0;
_PUBLIC_ int *debug_level = &_debug_level;
-int *DEBUGLEVEL_CLASS = NULL; /* For samba 3 */
+static int debug_all_class_hack = 1;
+int *DEBUGLEVEL_CLASS = &debug_all_class_hack; /* For samba 3 */
+static bool debug_all_class_isset_hack = true;
+bool *DEBUGLEVEL_CLASS_ISSET = &debug_all_class_isset_hack; /* For samba 3 */
/* the registered mutex handlers */
static struct {