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"); |