dav/sync.c

changeset 767
f4acc783f25e
parent 766
c4993f0991e4
child 775
e5909dff0dbf
equal deleted inserted replaced
766:c4993f0991e4 767:f4acc783f25e
467 return 1; 467 return 1;
468 } 468 }
469 469
470 DavBool changed = 0; 470 DavBool changed = 0;
471 CxList *res_tags = sync_get_file_tags(dir, res, &changed, NULL); 471 CxList *res_tags = sync_get_file_tags(dir, res, &changed, NULL);
472 if(!res_tags) {
473 res_tags = cxEmptyList;
474 }
472 475
473 int ret = matches_tagfilter(res_tags, tagfilter); 476 int ret = matches_tagfilter(res_tags, tagfilter);
474 CxIterator i = cxListIterator(res_tags);
475 cxListDestroy(res_tags); 477 cxListDestroy(res_tags);
476 return ret; 478 return ret;
477 } 479 }
478 480
479 static int localres_cmp_path(LocalResource *a, LocalResource *b, void *n) { 481 static int localres_cmp_path(LocalResource *a, LocalResource *b, void *n) {

mercurial