mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Fix another crash if the md5 are not computed
This commit is contained in:
parent
67373dcb0d
commit
be13ef120d
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ static int _csync_merge_algorithm_visitor(void *obj, void *data) {
|
|||
cur->instruction = CSYNC_INSTRUCTION_NONE;
|
||||
other->instruction = CSYNC_INSTRUCTION_NONE;
|
||||
|
||||
if( !cur->md5 ) cur->md5 = c_strdup(other->md5);
|
||||
if( !cur->md5 && other->md5 ) cur->md5 = c_strdup(other->md5);
|
||||
}
|
||||
break;
|
||||
/* file on other replica has changed too */
|
||||
|
|
Loading…
Reference in a new issue