From d6334d1e9b646c4460ceca62657bd248c4f7dac0 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 14 Apr 2020 22:49:23 +0200 Subject: Fix zip download --- plugins/webbox/webbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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()); } -- cgit v1.2.3