actually make sure some random things don't explode

Fri, 24 May 2024 00:27:40 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 24 May 2024 00:27:40 +0200
changeset 821
9b1e998eeac6
parent 820
d0cccee15a7c
child 822
f9e40f5c6daf

actually make sure some random things don't explode

dav/sync.c file | annotate | diff | comparison | revisions
--- 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