1
0

320-debug_level_checks.patch 627 B

12345678910111213141516171819202122
  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. * Define all new debug classes here. A class is represented by an entry in
  11. --- a/source3/nmbd/asyncdns.c
  12. +++ b/source3/nmbd/asyncdns.c
  13. @@ -85,7 +85,7 @@ static void asyncdns_process(void)
  14. struct query_record r;
  15. unstring qname;
  16. - DEBUGLEVEL = -1;
  17. + DEBUGLEVEL_CLASS[DBGC_ALL] = -1;
  18. while (1) {
  19. NTSTATUS status;