dav/scfg.c

changeset 692
56b66fe2b4f5
parent 679
0d352b79363a
child 700
165811ea12ab
equal deleted inserted replaced
691:48ec0ab17011 692:56b66fe2b4f5
372 v.type = VERSIONING_SIMPLE; 372 v.type = VERSIONING_SIMPLE;
373 v.collection = VERSIONING_DEFAULT_PATH; 373 v.collection = VERSIONING_DEFAULT_PATH;
374 374
375 int err = 0; 375 int err = 0;
376 376
377 xmlChar *attr_type = xmlGetNoNsProp(node, BAD_CAST "format"); 377 xmlChar *attr_type = xmlGetNoNsProp(node, BAD_CAST "type");
378 xmlChar *attr_always = xmlGetNoNsProp(node, BAD_CAST "always"); 378 xmlChar *attr_always = xmlGetNoNsProp(node, BAD_CAST "always");
379 379
380 if(attr_type) { 380 if(attr_type) {
381 if(xstreq(attr_type, "simple")) { 381 if(xstreq(attr_type, "simple")) {
382 v.type = VERSIONING_SIMPLE; 382 v.type = VERSIONING_SIMPLE;

mercurial