[Pkg-owncloud-commits] [owncloud-client] 10/83: Clear the authentication callbacks set before.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 31 11:31:38 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 069eaf9170372e2d93a0ef9041313a0d46cc5634
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed May 21 10:12:05 2014 +0200

    Clear the authentication callbacks set before.
---
 csync/src/csync_owncloud.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/csync/src/csync_owncloud.c b/csync/src/csync_owncloud.c
index bf10baa..be0e7b0 100644
--- a/csync/src/csync_owncloud.c
+++ b/csync/src/csync_owncloud.c
@@ -982,8 +982,10 @@ int owncloud_commit(void) {
 
   clean_caches();
 
-  if( dav_session.ctx )
-    ne_session_destroy( dav_session.ctx );
+  if( dav_session.ctx ) {
+      ne_forget_auth(dav_session.ctx);
+      ne_session_destroy( dav_session.ctx );
+  }
   /* DEBUG_WEBDAV( "********** vio_module_shutdown" ); */
 
   dav_session.ctx = 0;

-- 
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