summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/webbox')
-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());
}