]> git.ipfire.org Git - thirdparty/samba.git/commit
lib/util: fix call to dbghdrclass() for DEBUGC()
authorStefan Metzmacher <metze@samba.org>
Fri, 26 Apr 2019 11:21:15 +0000 (13:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 8 Aug 2019 07:32:20 +0000 (07:32 +0000)
commitbdc11a6b825f7965d685235af2c60bc1cfdc080f
tree089274ce8ad116adb4c99250ddfbb367f7dc2a3a
parentf7a5adf02565e4d9e78e4dc85214d4c434c68a27
lib/util: fix call to dbghdrclass() for DEBUGC()

dbghdrclass() sets the global 'current_msg_class' and for that
DEBUGC() should pass the given dbgc_class instead of the per file
DBGC_CLASS.

This is important with the new per class logfile with:

 log level = 1 dsdb_audit:10@/var/log/samba/log.dsdb_audit

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13915

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(similar to commit bb0ffbf38cb1955c9e400003add680eabcf706a6)
lib/util/debug.h