mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
Fix storing the error of renames
This commit is contained in:
parent
844c2bbafa
commit
959c987749
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ static int _merge_file_trees_visitor(void *obj, void *data) {
|
||||||
new->md5 = c_strdup(fs->md5);
|
new->md5 = c_strdup(fs->md5);
|
||||||
if (fs->destpath)
|
if (fs->destpath)
|
||||||
new->destpath = c_strdup(fs->destpath);
|
new->destpath = c_strdup(fs->destpath);
|
||||||
|
if (fs->error_string)
|
||||||
|
new->error_string = c_strdup(fs->error_string);
|
||||||
|
|
||||||
if (c_rbtree_insert(tree, new) < 0) {
|
if (c_rbtree_insert(tree, new) < 0) {
|
||||||
strerror_r(errno, errbuf, sizeof(errbuf));
|
strerror_r(errno, errbuf, sizeof(errbuf));
|
||||||
|
|
Loading…
Reference in a new issue