summaryrefslogtreecommitdiff
path: root/modules/remote-filesystem/c++/easy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-filesystem/c++/easy.hpp')
-rw-r--r--modules/remote-filesystem/c++/easy.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remote-filesystem/c++/easy.hpp b/modules/remote-filesystem/c++/easy.hpp
index bfee13b..c7e9bb9 100644
--- a/modules/remote-filesystem/c++/easy.hpp
+++ b/modules/remote-filesystem/c++/easy.hpp
@@ -31,7 +31,7 @@ error_or<void> encode_and_write_file(const std::filesystem::path& p_, const data
auto& srv = eo_srv.get_value();
id<Sch> fid{0u};
- auto eo_write = srv->send(fid, dat);
+ auto eo_write = srv->send(dat, fid);
if(eo_write.is_error()){
return eo_write;
}