aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/networking/sdl_net/handlers/uploadfilehandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/networking/sdl_net/handlers/uploadfilehandler.cpp b/backends/networking/sdl_net/handlers/uploadfilehandler.cpp
index eeb4fad1ac..e2f6143474 100644
--- a/backends/networking/sdl_net/handlers/uploadfilehandler.cpp
+++ b/backends/networking/sdl_net/handlers/uploadfilehandler.cpp
@@ -22,10 +22,9 @@
#include "backends/networking/sdl_net/handlers/uploadfilehandler.h"
#include "backends/networking/sdl_net/handlerutils.h"
-#include "backends/networking/sdl_net/localwebserver.h"
#include "backends/networking/sdl_net/uploadfileclienthandler.h"
#include "backends/fs/fs-factory.h"
-#include "common/file.h"
+#include "common/system.h"
#include "common/translation.h"
namespace Networking {
@@ -36,7 +35,6 @@ UploadFileHandler::~UploadFileHandler() {}
void UploadFileHandler::handle(Client &client) {
Common::String path = client.queryParameter("path");
- debug("path = <%s>", path.c_str());
// check that <path> is not an absolute root
if (path == "" || path == "/" || path == "\\") {