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:
authorChristian Kamm <mail@ckamm.de>2018-11-21 14:23:08 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:58:26 +0300
commitb30f79edf6583615652a8b6bbe2e89951356192e (patch)
treecece90e1ee9492a95b76af7aac2706e0351fb427 /src/csync
parent842577e014db0f2c7ff734adb49f541d30bce92f (diff)
vfs: Ensure SyncOptions::_vfs is never null
- Create a VfsOff derived class - Make it a shared pointer shared with Folder::_vfs
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 56de3250c..5b58b01cb 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
// Override type for virtual files if desired
if (vfs) {
- // Directly modifiest file_stat->type.
+ // Directly modifies file_stat->type.
// We can ignore the return value since we're done here anyway.
vfs->statTypeVirtualFile(file_stat.get(), nullptr);
}