fix settings dialog doesn't open when there is no .dav/config.xml file default tip

Sun, 07 Dec 2025 20:00:33 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 07 Dec 2025 20:00:33 +0100
changeset 114
3da24640513a
parent 113
dde28a806552

fix settings dialog doesn't open when there is no .dav/config.xml file

application/config.c file | annotate | diff | comparison | revisions
--- a/application/config.c	Mon Nov 10 21:52:51 2025 +0100
+++ b/application/config.c	Sun Dec 07 20:00:33 2025 +0100
@@ -170,7 +170,7 @@
         switch(errno) {
             case ENOENT: {
                 davconfig = dav_config_new(NULL);
-                return NULL;
+                return davconfig;
             }
             default: {
                 perror("Cannot load config.xml");

mercurial