From 797d4ac55375dd52c6e8ee4bb0311ac5c03004b2 Mon Sep 17 00:00:00 2001 From: Emillio Mariscal Date: Tue, 20 Feb 2024 08:56:12 -0300 Subject: [PATCH] Fix for writing files using a base destination local dir --- src/replicator/replication.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/replicator/replication.cc b/src/replicator/replication.cc index 5e63e089..4655fcf4 100644 --- a/src/replicator/replication.cc +++ b/src/replicator/replication.cc @@ -445,11 +445,11 @@ void Planet::writeFile(RemoteURL &remote, std::shared_ptr(data.get()->data()), data.get()->size()); myfile.flush(); myfile.close(); - log_debug("Wrote downloaded file %1% to disk from %2%", local_file_path, remote.domain); + log_debug("Wrote downloaded file %1% to disk from %2%", remote.destdir_base + remote.filespec, remote.domain); } Planet::~Planet(void)