diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-05 10:22:50 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-05 15:07:35 +0100 |
commit | c34d5f445aae8180650dd2cae994bd5573870c04 (patch) | |
tree | c5787935da005402ce64fda6890a1137363235f1 /source3/smbd/oplock.c | |
parent | ee5be748e64f6c8f4814ff322e38511a9a65f4fc (diff) | |
download | samba-c34d5f445aae8180650dd2cae994bd5573870c04.tar.gz |
s3:events: change event_add_timed() prototype to match samba4
metze
Diffstat (limited to 'source3/smbd/oplock.c')
-rw-r--r-- | source3/smbd/oplock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index 261d8fd6702..6efa3dcfc62 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -346,7 +346,7 @@ static files_struct *initial_break_processing(struct file_id id, unsigned long f static void oplock_timeout_handler(struct event_context *ctx, struct timed_event *te, - const struct timeval *now, + struct timeval now, void *private_data) { files_struct *fsp = (files_struct *)private_data; @@ -373,7 +373,6 @@ static void add_oplock_timeout_handler(files_struct *fsp) fsp->oplock_timeout = event_add_timed(smbd_event_context(), NULL, timeval_current_ofs(OPLOCK_BREAK_TIMEOUT, 0), - "oplock_timeout_handler", oplock_timeout_handler, fsp); if (fsp->oplock_timeout == NULL) { |