From ba00796e6dd13b87b7988a98e532676d9eab702c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 6 Oct 2000 18:13:52 +0000 Subject: 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) --- source3/locking/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/locking') diff --git a/source3/locking/posix.c b/source3/locking/posix.c index 7bac1ffe37..fbdcf662fc 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; -- cgit