summaryrefslogtreecommitdiff
path: root/src/lib/uploader.cc
diff options
context:
space:
mode:
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 c5448e469..f2a47f50e 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().leaf()));
+ _set_status(String::compose(_("copying %1"), i.path().filename()));
upload_file (i.path(), remove_prefix (base, i.path()), transferred, total_size);
}
}