diff options
author | Volker Lendecke <vl@samba.org> | 2013-12-02 21:32:47 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-12-04 20:09:39 +0100 |
commit | a8cb1b10042ee4f8d235b0b96224844f2e94c43b (patch) | |
tree | 96bce3625a8e12a05db036af05965a99929d6fbf /source3/smbd | |
parent | 4b637c367fdda832e95208f49e8893b0a0cac4b4 (diff) | |
download | samba-a8cb1b10042ee4f8d235b0b96224844f2e94c43b.tar.gz samba-a8cb1b10042ee4f8d235b0b96224844f2e94c43b.tar.xz samba-a8cb1b10042ee4f8d235b0b96224844f2e94c43b.zip |
smbd: Avoid calling notify_filter_string for low debuglevels
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Dec 4 20:09:39 CET 2013 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |