aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/networking/sdl_net/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/client.cpp b/backends/networking/sdl_net/client.cpp
index 60f6be2adc..24b6865052 100644
--- a/backends/networking/sdl_net/client.cpp
+++ b/backends/networking/sdl_net/client.cpp
@@ -201,6 +201,7 @@ Common::String Client::queryParameter(Common::String name) const {
} else value += _query[i];
}
}
+ if (key == name) return value; //the last key doesn't have an '&' in the end of the query
return "";
}