summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/smb2_notify.c')
-rw-r--r--source3/smbd/smb2_notify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c
index bffa651b1e..8b23caeb94 100644
--- a/source3/smbd/smb2_notify.c
+++ b/source3/smbd/smb2_notify.c
@@ -380,8 +380,7 @@ static bool smbd_smb2_notify_cancel(struct tevent_req *req)
struct smbd_smb2_notify_state *state = tevent_req_data(req,
struct smbd_smb2_notify_state);
- smbd_notify_cancel_by_smbreq(state->smb2req->sconn,
- state->smbreq);
+ smbd_notify_cancel_by_smbreq(state->smbreq);
state->smb2req->cancelled = true;
tevent_req_done(req);