Skip to content

Commit 6524964

Browse files
jnweigerTheOneRing
authored andcommitted
Do not crash when propfind returns 404
1 parent 80e8922 commit 6524964

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libsync/discovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(
516516
// If the file exist or if there is another error, consider it is a new file.
517517
postProcessServerNew();
518518
return;
519-
} else if (OC_ENSURE(job->httpStatusCode() == 404)) {
519+
} else if (job->httpStatusCode() == 404) {
520520
// The file do not exist, it is a rename
521521

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

0 commit comments

Comments
 (0)