reactivate error in case of unknown config elements

Sun, 08 Aug 2021 16:50:36 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 08 Aug 2021 16:50:36 +0200
changeset 735
74a6e2d4fb1f
parent 734
b2cd82149116
child 736
40be8db6fe45

reactivate error in case of unknown config elements

dav/config.c file | annotate | diff | comparison | revisions
--- a/dav/config.c	Sun Aug 08 16:49:47 2021 +0200
+++ b/dav/config.c	Sun Aug 08 16:50:36 2021 +0200
@@ -150,11 +150,10 @@
                 ret = load_namespace(node);
             } else if (xstreq(node->name, "secretstore")) {
                 ret = load_secretstore(node);
-            } 
-            /* else {
+            } else {
                 fprintf(stderr, "Unknown config element: %s\n", node->name);
                 ret = 1;
-            } */
+            }
         }
         node = node->next;
     }

mercurial