Root/package/network/services/samba36/patches/320-debug_level_checks.patch

1--- a/lib/util/debug.h
2+++ b/lib/util/debug.h
3@@ -45,7 +45,7 @@ bool dbghdr( int level, const char *loca
4  * Redefine DEBUGLEVEL because so we don't have to change every source file
5  * that *unnecessarily* references it.
6  */
7-#define DEBUGLEVEL DEBUGLEVEL_CLASS[DBGC_ALL]
8+#define DEBUGLEVEL 0
9 
10 /*
11  * Define all new debug classes here. A class is represented by an entry in
12--- a/source3/nmbd/asyncdns.c
13+++ b/source3/nmbd/asyncdns.c
14@@ -85,7 +85,7 @@ static void asyncdns_process(void)
15     struct query_record r;
16     unstring qname;
17 
18- DEBUGLEVEL = -1;
19+ DEBUGLEVEL_CLASS[DBGC_ALL] = -1;
20 
21     while (1) {
22         NTSTATUS status;
23

Archive Download this file



interactive