diff -r d0cccee15a7c -r 9b1e998eeac6 dav/sync.c --- a/dav/sync.c Fri May 24 00:18:18 2024 +0200 +++ b/dav/sync.c Fri May 24 00:27:40 2024 +0200 @@ -4360,7 +4360,7 @@ CxIterator i = cxListIterator(updates); cx_foreach(FilePart *, p, i) { - if(p->block > numparts) { + if(p->block >= numparts) { // just make sure things don't explode in case some weird stuff // is going on continue;