dav/sync.c

changeset 821
9b1e998eeac6
parent 816
839fefbdedc7
--- 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;

mercurial