[Pkg-owncloud-commits] [owncloud-client] 363/484: csync_update: Add missing comment about 403 forbidden handling.

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:05 UTC 2015


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 e7ad7d405cccbeaeb2575437dd36b204a0759568
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Oct 12 17:10:01 2015 +0200

    csync_update: Add missing comment about 403 forbidden handling.
---
 csync/src/csync_update.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/csync/src/csync_update.c b/csync/src/csync_update.c
index 0642b44..94ef28f 100644
--- a/csync/src/csync_update.c
+++ b/csync/src/csync_update.c
@@ -640,7 +640,8 @@ int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn,
               CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "asprintf failed!");
           }
       }
-      //
+      // 403 Forbidden can be sent by the server if the file firewall is active.
+      // A file or directory should be ignored and sync must continue. See #3490
       else if(errno == ERRNO_FORBIDDEN) {
           CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "Directory access Forbidden (File Firewall?)");
           if (ctx->current_fs) {

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