dav/config.c

changeset 294
dd5c0ebdf54f
parent 254
d7c4ba50b7d8
child 295
8ac7b8d56115
--- a/dav/config.c	Tue Sep 05 11:42:08 2017 +0200
+++ b/dav/config.c	Tue Sep 05 12:00:49 2017 +0200
@@ -100,7 +100,7 @@
         switch(errno) {
             case ENOENT: {
                 create_default_config(file);
-                break;
+                return 0;
             }
             default: {
                 perror("Cannot load config.xml");

mercurial