fix tagconfig parser

Sun, 20 Oct 2019 08:20:06 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 20 Oct 2019 08:20:06 +0200
changeset 664
d066a89d5e87
parent 663
888aa263c0f1
child 665
ec8c9201a974

fix tagconfig parser

dav/scfg.c file | annotate | diff | comparison | revisions
--- a/dav/scfg.c	Sat Oct 19 15:46:33 2019 +0200
+++ b/dav/scfg.c	Sun Oct 20 08:20:06 2019 +0200
@@ -209,7 +209,7 @@
 }
 
 #define CHECK_VALUE_RET_NULL(element, value) if(!(value)) \
-        print_error(element->line, "missing value element: %s\n", element->name); return NULL;
+        {print_error(element->line, "missing value element: %s\n", element->name); return NULL;}
 
 static TagConfig* parse_tagconfig(xmlNode *node) {
     TagConfig conf;

mercurial