diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-18 07:52:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:59 -0500 |
commit | 2f58645b7094e81dff3734f11aa183ea2ab53d2d (patch) | |
tree | c5c65611d18a60dd3612d2466a45d2b36dc4167a /source/smbd/blocking.c | |
parent | a52fa218952ffcd784ea31e947aa4d17dfdc8ee0 (diff) | |
download | samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.tar.gz samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.tar.xz samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.zip |
r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()
and DLIST_DEMOTE() now take the type of the tmp pointer
not the tmp pointer itself anymore.
metze
Diffstat (limited to 'source/smbd/blocking.c')
-rw-r--r-- | source/smbd/blocking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/blocking.c b/source/smbd/blocking.c index 2f89759ffd1..f489a8e96b2 100644 --- a/source/smbd/blocking.c +++ b/source/smbd/blocking.c @@ -86,7 +86,7 @@ BOOL push_blocking_lock_request( struct byte_range_lock *br_lck, SMB_BIG_UINT offset, SMB_BIG_UINT count) { static BOOL set_lock_msg; - blocking_lock_record *blr, *tmp; + blocking_lock_record *blr; NTSTATUS status; if(in_chained_smb() ) { @@ -148,7 +148,7 @@ BOOL push_blocking_lock_request( struct byte_range_lock *br_lck, return False; } - DLIST_ADD_END(blocking_lock_queue, blr, tmp); + DLIST_ADD_END(blocking_lock_queue, blr, blocking_lock_record *); /* Ensure we'll receive messages when this is unlocked. */ if (!set_lock_msg) { |