summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_query_directory.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2018-03-21 12:01:05 -0700
committerJeremy Allison <jra@samba.org>2018-03-22 02:15:13 +0100
commit8dabcf8948c2e514b489169c34673e093519b583 (patch)
tree37bc1eafb6f5f4456409d06dc0d6daf1304a0246 /source3/smbd/smb2_query_directory.c
parente0cf35aec23e2fa52a8a2c8b151a81175445efaf (diff)
downloadsamba-8dabcf8948c2e514b489169c34673e093519b583.tar.gz
s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it.
Will allow easier smb2-specific debugging. https://bugzilla.samba.org/show_bug.cgi?id=13347 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source3/smbd/smb2_query_directory.c')
-rw-r--r--source3/smbd/smb2_query_directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_query_directory.c b/source3/smbd/smb2_query_directory.c
index 888473853d4..700f43e3126 100644
--- a/source3/smbd/smb2_query_directory.c
+++ b/source3/smbd/smb2_query_directory.c
@@ -26,6 +26,9 @@
#include "../lib/util/tevent_ntstatus.h"
#include "system/filesys.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_SMB2
+
static struct tevent_req *smbd_smb2_query_directory_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct smbd_smb2_request *smb2req,