diff options
Diffstat (limited to 'backends/networking/sdl_net/handlers/indexpagehandler.cpp')
-rw-r--r-- | backends/networking/sdl_net/handlers/indexpagehandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/networking/sdl_net/handlers/indexpagehandler.cpp b/backends/networking/sdl_net/handlers/indexpagehandler.cpp index 04a3f45eff..17e5159768 100644 --- a/backends/networking/sdl_net/handlers/indexpagehandler.cpp +++ b/backends/networking/sdl_net/handlers/indexpagehandler.cpp @@ -37,9 +37,9 @@ IndexPageHandler::~IndexPageHandler() {} Common::String IndexPageHandler::code() const { return _code; } void IndexPageHandler::handle(Client &client) { - Common::String code = client.queryParameter("code"); + Common::String queryCode = client.queryParameter("code"); - if (code == "") { + if (queryCode == "") { // redirect to "/filesAJAX" HandlerUtils::setMessageHandler( client, @@ -53,7 +53,7 @@ void IndexPageHandler::handle(Client &client) { return; } - _code = code; + _code = queryCode; sendCommand(GUI::kStorageCodePassedCmd, 0); HandlerUtils::setMessageHandler(client, _("ScummVM got the code and already connects to your cloud storage!")); } |