~singpolyma/biboumi

930696e48a992222d1edf15b00f7b566512428a7 — Florent Le Coz 10 years ago 601159e
Remove useless cast
1 files changed, 1 insertions(+), 1 deletions(-)

M src/network/socket_handler.cpp
M src/network/socket_handler.cpp => src/network/socket_handler.cpp +1 -1
@@ 153,7 153,7 @@ void SocketHandler::on_recv()
      this->on_connection_close();
      this->close();
    }
  else if (-1 == static_cast<ssize_t>(size))
  else if (-1 == size)
    {
      log_warning("Error while reading from socket: " << strerror(errno));
      this->on_connection_close();