mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
CSync: Give ctx to proxy callback
This fixes a crash.
This commit is contained in:
parent
2caa69e0cb
commit
61999a67cd
@ -461,7 +461,7 @@ static int dav_connect(csync_owncloud_ctx_t *ctx, const char *base_url) {
|
||||
if( proxystate < 0 ) {
|
||||
DEBUG_WEBDAV("Error: Proxy-Configuration failed.");
|
||||
} else if( proxystate > 0 ) {
|
||||
ne_set_proxy_auth( ctx->dav_session.ctx, proxy_authentication_callback_by_neon, 0 );
|
||||
ne_set_proxy_auth( ctx->dav_session.ctx, proxy_authentication_callback_by_neon, ctx );
|
||||
}
|
||||
|
||||
ctx->_connected = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user