Sun, 08 Aug 2021 11:38:55 +0200
disable error in case of unknown config elements
dav/config.c | file | annotate | diff | comparison | revisions |
--- a/dav/config.c Fri Jun 04 18:24:55 2021 +0200 +++ b/dav/config.c Sun Aug 08 11:38:55 2021 +0200 @@ -65,6 +65,8 @@ static PwdStore *pstore; + + int check_config_dir(void) { char *file = util_concat_path(ENV_HOME, ".dav"); int ret = 0; @@ -144,10 +146,10 @@ ret = load_proxy(ctx->https_proxy, node, HTTPS_PROXY); } else if (xstreq(node->name, "namespace")) { ret = load_namespace(node); - } else { + } /* else { fprintf(stderr, "Unknown config element: %s\n", node->name); ret = 1; - } + } */ } node = node->next; }