csync_owncloud: silent CID 12883

This commit is contained in:
Olivier Goffart 2014-06-20 11:43:25 +02:00
parent 61ad376bf4
commit b7c9fa6d5f

View file

@ -696,7 +696,7 @@ static struct listdir_context *fetch_resource_list(const char *uri, int depth)
ret = NE_CONNECT; ret = NE_CONNECT;
set_error_message(req_status->reason_phrase); set_error_message(req_status->reason_phrase);
} }
DEBUG_WEBDAV("Simple propfind result code %d.", req_status->code); DEBUG_WEBDAV("Simple propfind result code %d.", req_status ? req_status->code : -1);
} else { } else {
if( ret == NE_ERROR && req_status->code == 404) { if( ret == NE_ERROR && req_status->code == 404) {
errno = ENOENT; errno = ENOENT;