diff options
author | Alexander Tkachev | 2016-07-08 13:42:48 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | f3ee9e3272c76236a5f234d00cb9ba1afa81ef60 (patch) | |
tree | 00b9fd42ae47aef854391619d02c8f8ce55cc173 /backends/networking/sdl_net/client.cpp | |
parent | b69cc3effbbe2cccefc29eb2db097945d78cf89b (diff) | |
download | scummvm-rg350-f3ee9e3272c76236a5f234d00cb9ba1afa81ef60.tar.gz scummvm-rg350-f3ee9e3272c76236a5f234d00cb9ba1afa81ef60.tar.bz2 scummvm-rg350-f3ee9e3272c76236a5f234d00cb9ba1afa81ef60.zip |
CLOUD: Fix minor Reader-related bugs
Diffstat (limited to 'backends/networking/sdl_net/client.cpp')
-rw-r--r-- | backends/networking/sdl_net/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/client.cpp b/backends/networking/sdl_net/client.cpp index 3edf9c32f5..32aa1e4bef 100644 --- a/backends/networking/sdl_net/client.cpp +++ b/backends/networking/sdl_net/client.cpp @@ -44,7 +44,8 @@ void Client::open(SDLNet_SocketSet set, TCPsocket socket) { _state = READING_HEADERS; _socket = socket; _set = set; - _reader = Reader(); + Reader cleanReader; + _reader = cleanReader; _handler = nullptr; if (set) { int numused = SDLNet_TCP_AddSocket(set, socket); |