dav/scfg.c

changeset 664
d066a89d5e87
parent 661
1baec7ff8931
child 679
0d352b79363a
equal deleted inserted replaced
663:888aa263c0f1 664:d066a89d5e87
207 } 207 }
208 return TAG_FORMAT_UNKNOWN; 208 return TAG_FORMAT_UNKNOWN;
209 } 209 }
210 210
211 #define CHECK_VALUE_RET_NULL(element, value) if(!(value)) \ 211 #define CHECK_VALUE_RET_NULL(element, value) if(!(value)) \
212 print_error(element->line, "missing value element: %s\n", element->name); return NULL; 212 {print_error(element->line, "missing value element: %s\n", element->name); return NULL;}
213 213
214 static TagConfig* parse_tagconfig(xmlNode *node) { 214 static TagConfig* parse_tagconfig(xmlNode *node) {
215 TagConfig conf; 215 TagConfig conf;
216 conf.store = TAG_STORE_XATTR; 216 conf.store = TAG_STORE_XATTR;
217 conf.local_format = TAG_FORMAT_TEXT; 217 conf.local_format = TAG_FORMAT_TEXT;

mercurial