summaryrefslogtreecommitdiffstats
path: root/source3/locking/posix.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-06 18:13:52 +0000
committerJeremy Allison <jra@samba.org>2000-10-06 18:13:52 +0000
commitba00796e6dd13b87b7988a98e532676d9eab702c (patch)
tree6b53b1fae2ca229ab654bbff46b2e4dd7c4e489f /source3/locking/posix.c
parent08657e539e4cd4105057a9c12db30dbe4bbfcb1d (diff)
downloadsamba-ba00796e6dd13b87b7988a98e532676d9eab702c.tar.gz
samba-ba00796e6dd13b87b7988a98e532676d9eab702c.tar.xz
samba-ba00796e6dd13b87b7988a98e532676d9eab702c.zip
Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy. (This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
Diffstat (limited to 'source3/locking/posix.c')
-rw-r--r--source3/locking/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index 7bac1ffe379..fbdcf662fc9 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -408,7 +408,7 @@ static BOOL does_lock_overlap(SMB_OFF_T start1, SMB_OFF_T size1, SMB_OFF_T start
if (start1 >= start2 && start1 <= start2 + size2)
return True;
- if (start1 < start2 && start1 + size1 > start2);
+ if (start1 < start2 && start1 + size1 > start2)
return True;
return False;