mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
EIO is not necessarily a proxy error.
Should change error message such as "CSync failed to connect through a proxy. 500 Internal Server Error" To: "CSync processing step update failed. 500 Internal Server Error"
This commit is contained in:
parent
316aade340
commit
b93efbaefe
1 changed files with 0 additions and 3 deletions
|
@ -452,9 +452,6 @@ int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn,
|
|||
ctx->status_code = csync_errno_to_status(errno, CSYNC_STATUS_OPENDIR_ERROR);
|
||||
if (errno == EACCES) {
|
||||
return 0;
|
||||
} else if(errno == EIO ) {
|
||||
/* Proxy problems (ownCloud) */
|
||||
ctx->status_code = CSYNC_STATUS_PROXY_ERROR;
|
||||
} else if(errno == ENOENT) {
|
||||
asp = asprintf( &ctx->error_string, "%s", uri);
|
||||
if (asp < 0) {
|
||||
|
|
Loading…
Reference in a new issue