From ab595a4c8fb505974012a2ae2a2052291461a1bf Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 12 Dec 2012 13:36:58 +0100 Subject: [PATCH] Add another useful logging line. --- modules/csync_owncloud.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/csync_owncloud.c b/modules/csync_owncloud.c index 694c55db6e..33e287095d 100644 --- a/modules/csync_owncloud.c +++ b/modules/csync_owncloud.c @@ -298,6 +298,10 @@ static void set_errno_from_session() { static void set_errno_from_neon_errcode( int neon_code ) { + if( neon_code != NE_OK ) { + DEBUG_WEBDAV("Neon error code was %d", neon_code); + } + switch(neon_code) { case NE_OK: /* Success, but still the possiblity of problems */ case NE_ERROR: /* Generic error; use ne_get_error(session) for message */