mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
util_tdb: fix a segfault caused by a fatal typo.
In tdb_wrap_log(), in on occurrence of "debug_level = 0"
instead of "debuglevel = 0" caused me segfaults when
accessing DEBUGLEVEL (which is defined as "*debug_level"...)
Michael
(This used to be commit d9bd894c2e
)
This commit is contained in:
parent
9c02cb9ee8
commit
8be49cdd3e
@ -862,7 +862,7 @@ static void tdb_wrap_log(TDB_CONTEXT *tdb, enum tdb_debug_level level,
|
||||
|
||||
switch (level) {
|
||||
case TDB_DEBUG_FATAL:
|
||||
debug_level = 0;
|
||||
debuglevel = 0;
|
||||
break;
|
||||
case TDB_DEBUG_ERROR:
|
||||
debuglevel = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user