dav/sync.c

changeset 661
1baec7ff8931
parent 659
51206020cfbe
child 662
ab34fc9ecf1d
--- a/dav/sync.c	Sat Oct 19 09:47:31 2019 +0200
+++ b/dav/sync.c	Sat Oct 19 10:47:46 2019 +0200
@@ -3987,6 +3987,8 @@
     if(ret == 0) {
         (*counter)++;
         
+        local->tags_updated = 0;
+        
         update_metadata_hashes(local, hashes);
         update_parts(local, parts, blockcount);
         
@@ -4281,6 +4283,7 @@
         err = 1;
     } else {
         update_metadata_hashes(local, hashes);
+        local->tags_updated = 0;
     }
     
     return err;

mercurial