git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Herb's warning fixes. Also the POSIX locking fix.
[samba.git]
/
source3
/
locking
/
posix.c
diff --git
a/source3/locking/posix.c
b/source3/locking/posix.c
index 7bac1ffe37983439bf32b558bc82068237effd11..fbdcf662fc9e2f8bcb2de2436df01a3e79714e06 100644
(file)
--- 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;