mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Added missing parenthesis.
This commit is contained in:
parent
1f8aee8a4f
commit
c54a3ab7cc
1 changed files with 6 additions and 3 deletions
|
@ -153,12 +153,15 @@ static int _merge_file_trees_visitor(void *obj, void *data) {
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
new_stat = memcpy(new_stat, fs, sizeof(csync_file_stat_t) + fs->pathlen + 1);
|
new_stat = memcpy(new_stat, fs, sizeof(csync_file_stat_t) + fs->pathlen + 1);
|
||||||
if (fs->md5)
|
if (fs->md5) {
|
||||||
new_stat->md5 = c_strdup(fs->md5);
|
new_stat->md5 = c_strdup(fs->md5);
|
||||||
if (fs->destpath)
|
}
|
||||||
|
if (fs->destpath) {
|
||||||
new_stat->destpath = c_strdup(fs->destpath);
|
new_stat->destpath = c_strdup(fs->destpath);
|
||||||
if (fs->error_string)
|
}
|
||||||
|
if (fs->error_string) {
|
||||||
new_stat->error_string = c_strdup(fs->error_string);
|
new_stat->error_string = c_strdup(fs->error_string);
|
||||||
|
}
|
||||||
|
|
||||||
if (c_rbtree_insert(tree, new_stat) < 0) {
|
if (c_rbtree_insert(tree, new_stat) < 0) {
|
||||||
C_STRERROR(errno, errbuf, sizeof(errbuf));
|
C_STRERROR(errno, errbuf, sizeof(errbuf));
|
||||||
|
|
Loading…
Reference in a new issue