mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
Make it a error when the file cannot be created
Mark it a an error when the file cannot be created because the folder cannot be created. Should display errors on windows if the file is too long
This commit is contained in:
parent
97e0e75ae2
commit
de87ed2d31
1 changed files with 1 additions and 2 deletions
|
@ -265,8 +265,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
|||
/* we're looping */
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN,
|
||||
"dir: %s, loop in mkdir detected!", tdir);
|
||||
rc = 0;
|
||||
st->instruction = CSYNC_INSTRUCTION_IGNORE;
|
||||
rc = 1;
|
||||
goto out;
|
||||
}
|
||||
SAFE_FREE(prev_tdir);
|
||||
|
|
Loading…
Reference in a new issue