From a8cb1b10042ee4f8d235b0b96224844f2e94c43b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 2 Dec 2013 21:32:47 +0100 Subject: [PATCH] smbd: Avoid calling notify_filter_string for low debuglevels Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Wed Dec 4 20:09:39 CET 2013 on sn-devel-104 --- source3/smbd/smb2_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 81aa6152cc5..77399efbab2 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -195,7 +195,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx, state->smbreq = smbreq; smbreq->async_priv = (void *)req; - { + if (DEBUGLEVEL >= 3) { char *filter_string; filter_string = notify_filter_string(NULL, in_completion_filter); -- 2.11.4.GIT