diff options
author | Alexander Tkachev | 2016-07-29 12:22:42 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 712410496e4e59fe1ee1968a94eeb73b51223996 (patch) | |
tree | 52bb3eebf39c168cb1301c4b17bc021553f8ca99 /backends/networking/sdl_net/uploadfileclienthandler.h | |
parent | 4f0c071e53ed1be17bd9bdd0079e585f0a1bf55c (diff) | |
download | scummvm-rg350-712410496e4e59fe1ee1968a94eeb73b51223996.tar.gz scummvm-rg350-712410496e4e59fe1ee1968a94eeb73b51223996.tar.bz2 scummvm-rg350-712410496e4e59fe1ee1968a94eeb73b51223996.zip |
CLOUD: Fix UploadFileClientHandler
It now redirects user on success not only when file was the last field
in the content, but also when it was uploaded already and Handler worked
further to search for more files.
Diffstat (limited to 'backends/networking/sdl_net/uploadfileclienthandler.h')
-rw-r--r-- | backends/networking/sdl_net/uploadfileclienthandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/uploadfileclienthandler.h b/backends/networking/sdl_net/uploadfileclienthandler.h index 4aa6929888..b6481cf18f 100644 --- a/backends/networking/sdl_net/uploadfileclienthandler.h +++ b/backends/networking/sdl_net/uploadfileclienthandler.h @@ -56,6 +56,7 @@ class UploadFileClientHandler: public ClientHandler { void handleBlockHeaders(Client *client); void handleBlockContent(Client *client); void setErrorMessageHandler(Client &client, Common::String message); + void setSuccessHandler(Client &client); public: UploadFileClientHandler(Common::String parentDirectoryPath); |