diff options
author | Alexander Tkachev | 2016-06-16 19:33:23 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 0def9c50a7d05fc1743b622ffb5fdbba58e697e6 (patch) | |
tree | b0d0202dfb68762057e1731efb123310f3fc5d6b /backends/networking/sdl_net/client.cpp | |
parent | 5ac3adbd4fbf40c22fccab6ce8bf8dcab8f98eff (diff) | |
download | scummvm-rg350-0def9c50a7d05fc1743b622ffb5fdbba58e697e6.tar.gz scummvm-rg350-0def9c50a7d05fc1743b622ffb5fdbba58e697e6.tar.bz2 scummvm-rg350-0def9c50a7d05fc1743b622ffb5fdbba58e697e6.zip |
CLOUD: Fix Client
Cleanup in open()
Diffstat (limited to 'backends/networking/sdl_net/client.cpp')
-rw-r--r-- | backends/networking/sdl_net/client.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/client.cpp b/backends/networking/sdl_net/client.cpp index 24b6865052..67b45b6cbe 100644 --- a/backends/networking/sdl_net/client.cpp +++ b/backends/networking/sdl_net/client.cpp @@ -43,6 +43,12 @@ void Client::open(SDLNet_SocketSet set, TCPsocket socket) { _state = READING_HEADERS; _socket = socket; _set = set; + _headers = ""; + _method = ""; + _path = ""; + _query = ""; + _anchor = ""; + _handler = nullptr; if (set) { int numused = SDLNet_TCP_AddSocket(set, socket); if (numused == -1) { |