dav/sync.c

changeset 661
1baec7ff8931
parent 659
51206020cfbe
child 662
ab34fc9ecf1d
equal deleted inserted replaced
660:e835ec0b7f17 661:1baec7ff8931
3985 } 3985 }
3986 3986
3987 if(ret == 0) { 3987 if(ret == 0) {
3988 (*counter)++; 3988 (*counter)++;
3989 3989
3990 local->tags_updated = 0;
3991
3990 update_metadata_hashes(local, hashes); 3992 update_metadata_hashes(local, hashes);
3991 update_parts(local, parts, blockcount); 3993 update_parts(local, parts, blockcount);
3992 3994
3993 // check contentlength and get new etag 3995 // check contentlength and get new etag
3994 DavResource *up_res = dav_get(res->session, res->path, "D:getetag,idav:status"); 3996 DavResource *up_res = dav_get(res->session, res->path, "D:getetag,idav:status");
4279 if(dav_store(res)) { 4281 if(dav_store(res)) {
4280 print_resource_error(sn, local->path); 4282 print_resource_error(sn, local->path);
4281 err = 1; 4283 err = 1;
4282 } else { 4284 } else {
4283 update_metadata_hashes(local, hashes); 4285 update_metadata_hashes(local, hashes);
4286 local->tags_updated = 0;
4284 } 4287 }
4285 4288
4286 return err; 4289 return err;
4287 } 4290 }
4288 4291

mercurial