projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2abb944
)
More detailed ZIP errors.
author
Carl Hetherington
<cth@carlh.net>
Sun, 14 Oct 2018 01:14:15 +0000
(
02:14
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 14 Oct 2018 01:14:15 +0000
(
02:14
+0100)
src/lib/internet.cc
patch
|
blob
|
history
diff --git
a/src/lib/internet.cc
b/src/lib/internet.cc
index d6fb02a17cf8f7e7002cb83123aa916ea1a0c13a..15a9ca72c35c4648c5f54a3d3519e660a46cf4bf 100644
(file)
--- a/
src/lib/internet.cc
+++ b/
src/lib/internet.cc
@@
-122,7
+122,7
@@
get_from_zip_url (string url, string file, bool pasv, function<void (boost::file
zip_error_t error;
zip_t* zip = zip_open_from_source (zip_source, ZIP_RDONLY, &error);
if (!zip) {
- return String::compose (_("Could not open downloaded ZIP file (%1
)")
, error.str ? error.str : "");
+ return String::compose (_("Could not open downloaded ZIP file (%1
: 2)"), error.sys_err
, error.str ? error.str : "");
}
#else