Added missing parenthesis.

This commit is contained in:
Klaas Freitag 2013-09-16 14:16:14 +02:00
parent 1f8aee8a4f
commit c54a3ab7cc

View file

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