fixed add-directory command

Wed, 02 Mar 2016 10:38:03 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 02 Mar 2016 10:38:03 +0100
changeset 203
9a93ebd71984
parent 202
faa41a5e817d
child 204
4f0207044837

fixed add-directory command

the collection was ignored

dav/scfg.c file | annotate | diff | comparison | revisions
--- a/dav/scfg.c	Wed Mar 02 10:20:38 2016 +0100
+++ b/dav/scfg.c	Wed Mar 02 10:38:03 2016 +0100
@@ -260,6 +260,9 @@
     xmlNewTextChild(dirNode, NULL, BAD_CAST "repository", BAD_CAST dir->repository);
     xmlNodeAddContent(dirNode, BAD_CAST "\n\t\t");
     
+    xmlNewTextChild(dirNode, NULL, BAD_CAST "collection", BAD_CAST dir->collection);
+    xmlNodeAddContent(dirNode, BAD_CAST "\n\t\t");
+    
     if(dir->trash) {
         xmlNewTextChild(dirNode, NULL, BAD_CAST "trash", BAD_CAST dir->trash);
         xmlNodeAddContent(dirNode, BAD_CAST "\n\t\t");

mercurial