From 3087986e768e4d79d321dcb2062f883237b0794a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 12 Jun 2010 13:08:31 +0200 Subject: s3: Remove sconn arg from smbd_notify_cancel_by_smbreq --- source3/smbd/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 5df389fc20..202664fc94 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -318,9 +318,9 @@ void remove_pending_change_notify_requests_by_mid(uint64_t mid) change_notify_remove_request(map->req); } -void smbd_notify_cancel_by_smbreq(struct smbd_server_connection *sconn, - const struct smb_request *smbreq) +void smbd_notify_cancel_by_smbreq(const struct smb_request *smbreq) { + struct smbd_server_connection *sconn = smbreq->sconn; struct notify_mid_map *map; for (map = sconn->smb1.notify_mid_maps; map; map = map->next) { -- cgit