summaryrefslogtreecommitdiff
path: root/src/lib/uploader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-09 21:55:15 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-10 20:50:32 +0200
commit7a4763153548619b379222d5c22d10b238ba0ac3 (patch)
tree9388ed2352aec643e938727bbbc9c9155d9092fb /src/lib/uploader.cc
parent9e90111e53a0b0739d0789afd26f29e63f803917 (diff)
Convert some paths to string.
Diffstat (limited to 'src/lib/uploader.cc')
-rw-r--r--src/lib/uploader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uploader.cc b/src/lib/uploader.cc
index f2a47f50e..36a86819b 100644
--- a/src/lib/uploader.cc
+++ b/src/lib/uploader.cc
@@ -76,7 +76,7 @@ Uploader::upload_directory (boost::filesystem::path base, boost::filesystem::pat
if (is_directory(i.path())) {
upload_directory (base, i.path(), transferred, total_size);
} else {
- _set_status(String::compose(_("copying %1"), i.path().filename()));
+ _set_status(String::compose(_("copying %1"), i.path().filename().string()));
upload_file (i.path(), remove_prefix (base, i.path()), transferred, total_size);
}
}