[Pkg-owncloud-commits] [owncloud-client] 84/332: CSync: Give ctx to proxy callback

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:06:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 357b041bb4c2ca0f9558184263388d86ea41cc24
Author: Markus Goetz <markus at woboq.com>
Date:   Fri Jun 13 15:36:00 2014 +0200

    CSync: Give ctx to proxy callback
    
    This fixes a crash.
---
 csync/src/csync_owncloud.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csync/src/csync_owncloud.c b/csync/src/csync_owncloud.c
index 29e0b21..76c1d32 100644
--- a/csync/src/csync_owncloud.c
+++ b/csync/src/csync_owncloud.c
@@ -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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list