mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Use the right mkdir function.
This commit is contained in:
parent
f89333c3c8
commit
b08c361527
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ time_t csync_timediff(CSYNC *ctx) {
|
|||
ctx->replica = ctx->remote.type;
|
||||
dp = csync_vio_opendir(ctx, ctx->remote.uri);
|
||||
if (dp == NULL) {
|
||||
if (csync_vio_local_mkdir(ctx->remote.uri, 0755) < 0) {
|
||||
if (csync_vio_mkdir(ctx, ctx->remote.uri, 0755) < 0) {
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_FATAL, "Unable to create directory on remote uri: %s - %s", luri, strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue