diff -r a39be87d34d4 -r f5921d151c29 dav/db.c --- a/dav/db.c Wed Jul 13 10:00:48 2016 +0200 +++ b/dav/db.c Wed Jul 13 12:03:04 2016 +0200 @@ -59,7 +59,7 @@ xmlDocSetRootElement(doc, root); if(xmlSaveFormatFileEnc(db_file, doc, "UTF-8", 1) != -1) { db->resources = ucx_map_new(2048); - //db->remove = ucx_map_new(8); + db->conflict = ucx_map_new(16); } else { free(db); db = NULL; @@ -71,7 +71,6 @@ free(db_file); db->resources = ucx_map_new(2048); - //db->remove = ucx_map_new(16); db->conflict = ucx_map_new(16); int error = 0; while(xmlTextReaderRead(reader)) { @@ -166,7 +165,7 @@ } } - if(!res->path || res->last_modified == 0) { + if(!res->path) { // TODO: free res return NULL; } else {