From 38abb787a40dc56e786ddea3d808c492208cb0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Wed, 22 Oct 2025 17:05:14 +0200 Subject: [PATCH] [DC-196] fix: do not crash in case of http status 400 upon a PROPFIND --- src/libsync/discovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 7f354330f5d..9a59d543a20 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -565,7 +565,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo( // If the file exist or if there is another error, consider it is a new file. postProcessServerNew(); return; - } else if (OC_ENSURE(job->httpStatusCode() == 404)) { + } else if (job->httpStatusCode() == 404) { // The file do not exist, it is a rename // In case the deleted item was discovered in parallel