ALL: Sync with ScummVM - rev. 87ebc7140c

This commit is contained in:
Bastien Bouclet 2017-09-02 13:27:05 +02:00
parent 0a212398b3
commit 84e62b6c8d
261 changed files with 27464 additions and 13852 deletions

View file

@ -145,7 +145,7 @@ void GetClientHandler::handle(Client *client) {
}
if (readBytes != 0)
if (client->send(_buffer, readBytes) != readBytes) {
if (client->send(_buffer, readBytes) != (int)readBytes) {
warning("GetClientHandler: unable to send all bytes to the client");
client->close();
return;