diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-09 21:55:15 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-10 20:50:32 +0200 |
| commit | 7a4763153548619b379222d5c22d10b238ba0ac3 (patch) | |
| tree | 9388ed2352aec643e938727bbbc9c9155d9092fb /src/lib/curl_uploader.cc | |
| parent | 9e90111e53a0b0739d0789afd26f29e63f803917 (diff) | |
Convert some paths to string.
Diffstat (limited to 'src/lib/curl_uploader.cc')
| -rw-r--r-- | src/lib/curl_uploader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/curl_uploader.cc b/src/lib/curl_uploader.cc index 753c66496..791bdb3fa 100644 --- a/src/lib/curl_uploader.cc +++ b/src/lib/curl_uploader.cc @@ -99,7 +99,7 @@ CurlUploader::upload_file(boost::filesystem::path from, boost::filesystem::path dcp::File file(from, "rb"); if (!file) { - throw NetworkError(String::compose(_("Could not open %1 to send"), from)); + throw NetworkError(String::compose(_("Could not open %1 to send"), from.string())); } _file = file.get(); _transferred = &transferred; |
