742 continue; |
742 continue; |
743 } |
743 } |
744 |
744 |
745 char *status = dav_get_string_property(res, "idav:status"); |
745 char *status = dav_get_string_property(res, "idav:status"); |
746 if(status && !strcmp(status, "broken")) { |
746 if(status && !strcmp(status, "broken")) { |
747 res = res->next; |
|
748 localres_keep(db, res->path); |
747 localres_keep(db, res->path); |
749 cxListAdd(res_broken, res); |
748 cxListAdd(res_broken, res); |
|
749 res = res->next; |
750 continue; |
750 continue; |
751 } |
751 } |
752 |
752 |
753 // check if a resource has changed on the server |
753 // check if a resource has changed on the server |
754 int change = resource_get_remote_change(a, res, dir, db); |
754 int change = resource_get_remote_change(a, res, dir, db); |