summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox/webbox.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-14 22:49:23 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-14 22:49:23 +0200
commitd6334d1e9b646c4460ceca62657bd248c4f7dac0 (patch)
tree533dce342df258aa6e9f46b3061ea5b3369de006 /plugins/webbox/webbox.cpp
parent8a58dab4113bbcccd1d85b8b6209d77077dcd9e8 (diff)
Fix zip download
Diffstat (limited to 'plugins/webbox/webbox.cpp')
-rw-r--r--plugins/webbox/webbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp
index d07e90b..f728ad5 100644
--- a/plugins/webbox/webbox.cpp
+++ b/plugins/webbox/webbox.cpp
@@ -40,7 +40,7 @@ namespace {
Tempfile() {
try {
- m_path = std::string{tmpnam(NULL)};
+ m_path = std::string{tmpnam(NULL)} + ".zip"s;
} catch (const std::exception& ex) {
throw std::runtime_error("Tempfile error: "s + ex.what());
}