From abae5c437142b53d9099653fe5f14b3ac1967b18 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Sat, 9 Jul 2016 15:52:16 +0600 Subject: CLOUD: Cleanup in UploadFileHandler --- backends/networking/sdl_net/handlers/uploadfilehandler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backends/networking/sdl_net/handlers') 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 is not an absolute root if (path == "" || path == "/" || path == "\\") { -- cgit v1.2.3