dav/scfg.c

changeset 778
bf53db813cc9
parent 747
efbd59642577
child 783
36a7f2ea7d12
--- a/dav/scfg.c	Sun Jul 16 13:52:02 2023 +0200
+++ b/dav/scfg.c	Wed Jul 19 20:31:01 2023 +0200
@@ -429,6 +429,7 @@
     char *collection = NULL;
     char *repository = NULL;
     char *database = NULL;
+    char *logfile = NULL;
     TagConfig *tagconfig = NULL;
     Versioning *versioning = NULL;
     CxList *include = cxLinkedListCreateSimple(sizeof(regex_t));
@@ -479,6 +480,8 @@
                 }
             } else if(xstreq(node->name, "database")) {
                 database = value;
+            } else if(xstreq(node->name, "logfile")) {
+                logfile = value;
             } else if(xstreq(node->name, "tagconfig")) {
                 tagconfig = parse_tagconfig(node);
             } else if(xstreq(node->name, "splitconfig")) {
@@ -624,6 +627,7 @@
     dir->collection = collection ? strdup(collection) : NULL;
     dir->repository = strdup(repository);
     dir->database = strdup(database);
+    dir->logfile = strdup(logfile);
     dir->tagconfig = tagconfig;
     dir->versioning = versioning;
     dir->max_retry = max_retry;

mercurial