Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/csync
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@nextcloud.com>2021-01-04 18:15:32 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2021-01-14 14:57:03 +0300
commit6e51dcf9c69f4e662d325fbc070fe204a35d167a (patch)
treead6c819c6a0bb7101e6b4591199fe260f83d9c90 /src/csync
parenta89b483773ba1e54d4025ef3f30a5e24149d2c3c (diff)
Provide the path to the current folder to statTypeVirtualFile on unix
Otherwise backends can't get to the actual file which will be needed for the XAttr backend. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/csync')
-rw-r--r--src/csync/vio/csync_vio_local_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csync/vio/csync_vio_local_unix.cpp b/src/csync/vio/csync_vio_local_unix.cpp
index 1f41f42f1..b0e5957bb 100644
--- a/src/csync/vio/csync_vio_local_unix.cpp
+++ b/src/csync/vio/csync_vio_local_unix.cpp
@@ -124,7 +124,7 @@ std::unique_ptr<csync_file_stat_t> csync_vio_local_readdir(csync_vio_handle_t *h
if (vfs) {
// Directly modifies file_stat->type.
// We can ignore the return value since we're done here anyway.
- vfs->statTypeVirtualFile(file_stat.get(), nullptr);
+ vfs->statTypeVirtualFile(file_stat.get(), &handle->path);
}
return file_stat;