summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/webbox')
-rw-r--r--plugins/webbox/webbox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp
index d19f428..26d49c8 100644
--- a/plugins/webbox/webbox.cpp
+++ b/plugins/webbox/webbox.cpp
@@ -5,7 +5,6 @@
#include "libcommon/file.h"
#include "libcommon/stringutil.h"
-
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
@@ -511,7 +510,7 @@ protected:
return HttpStatus("500", "Change path error: "s + ex.what(), p);
}
- Tempfile tempfile; // guards this path, removing file afterwards via RAII
+ Tempfile tempfile{".zip"}; // guards this path, removing file afterwards via RAII
arglist = "/usr/bin/zip -r - "s + arglist + " > "s + tempfile.GetPath().string();