summaryrefslogtreecommitdiffstats
path: root/source/locking
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-10-06 16:52:18 +0000
committerHerb Lewis <herb@samba.org>2000-10-06 16:52:18 +0000
commit1fea56998a52a55967ab4f24717c58928bcdec43 (patch)
tree6d3fe683f475611bd478fcbc9fcd60e80e9f02d4 /source/locking
parent2a624724734ac7458e8a1e2b403d6c47a7a92214 (diff)
downloadsamba-1fea56998a52a55967ab4f24717c58928bcdec43.tar.gz
samba-1fea56998a52a55967ab4f24717c58928bcdec43.tar.xz
samba-1fea56998a52a55967ab4f24717c58928bcdec43.zip
fix what I believe was a typo in does_lock_overlap which would cause it
to always return true Jeremy you may want to check this out
Diffstat (limited to 'source/locking')
-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;