summaryrefslogtreecommitdiffstats
path: root/source/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
commitdfe77c7046cbd65ee52aea7439f21503c1eac41d (patch)
tree31f50133199395ecc388d39ae04db91e628b1528 /source/locking/posix.c
parente451fd346105d5d34354ff9141d445b5f1a82e0a (diff)
downloadsamba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.tar.gz
samba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.tar.xz
samba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.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.
Diffstat (limited to 'source/locking/posix.c')
-rw-r--r--source/locking/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/posix.c b/source/locking/posix.c
index 7bac1ffe379..fbdcf662fc9 100644
--- a/source/locking/posix.c
+++ b/source/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;