diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-06 18:13:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-06 18:13:52 +0000 |
commit | dfe77c7046cbd65ee52aea7439f21503c1eac41d (patch) | |
tree | 31f50133199395ecc388d39ae04db91e628b1528 /source/locking/posix.c | |
parent | e451fd346105d5d34354ff9141d445b5f1a82e0a (diff) | |
download | samba-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.c | 2 |
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; |