Wed, 02 Mar 2016 10:38:03 +0100
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");