Skip to content

Commit 9adc7e3

Browse files
committed
[DC-196] fix: do not crash in case of http status 400 upon a PROPFIND (#12380)
1 parent 5a3d72d commit 9adc7e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsync/discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(
561561
// If the file exist or if there is another error, consider it is a new file.
562562
postProcessServerNew();
563563
return;
564-
} else if (OC_ENSURE(job->httpStatusCode() == 404)) {
564+
} else if (job->httpStatusCode() == 404) {
565565
// The file do not exist, it is a rename
566566

567567
// In case the deleted item was discovered in parallel

0 commit comments

Comments
 (0)