dav/db.c

changeset 667
6cdcd3e4e368
parent 638
b3077bdb3d77
child 681
3320429502cf
--- a/dav/db.c	Sun Oct 20 10:35:02 2019 +0200
+++ b/dav/db.c	Sun Oct 20 11:11:22 2019 +0200
@@ -538,6 +538,18 @@
             }
         }
         
+        if(res->remote_tags_hash) {
+            r = xmlTextWriterWriteElement(
+                    writer,
+                    BAD_CAST "remote-tags-hash",
+                    BAD_CAST res->remote_tags_hash);
+            if(r < 0) {
+                fprintf(stderr, "Cannot write remote-tags-hash: %s\n", res->remote_tags_hash);
+                xmlFreeTextWriter(writer);
+                return -1;
+            }
+        }
+        
         if(res->link_target) {
             r = xmlTextWriterWriteElement(
                     writer,

mercurial