diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-12-20 16:52:47 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-12-20 16:52:47 +0100 |
commit | 73f0b597dec0705db01ed4eec7abaebc0295a243 (patch) | |
tree | 3599be15154a9eeaa09cb86e1918a13ac3a73bef /plugins/webbox/webbox.cpp | |
parent | ef63da27938ae091a341893c38e59d489888625a (diff) |
webserver 1.12: Added graphical statistics page (gnuplot generated)
Diffstat (limited to 'plugins/webbox/webbox.cpp')
-rw-r--r-- | plugins/webbox/webbox.cpp | 3 |
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(); |