fix OCC::CfApiWrapper::handleForPath when path does not exist
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 22 Nov 2021 12:25:55 +0000 (13:25 +0100)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Tue, 23 Nov 2021 13:41:29 +0000 (13:41 +0000)
commita3013de6ea69287eab5d1fd9bf54be69ed54c982
treef4626c27daf2cf5ae7d98c7970c25b1ecca02c24
parent9eed62a85465e87c20603e13f3cd7ad2e135ab83
fix OCC::CfApiWrapper::handleForPath when path does not exist

sometime it can be called with a path that is already deleted

ensure we always go to the correct code path

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/vfs/cfapi/cfapiwrapper.cpp