diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-03-10 00:12:42 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-03-10 00:12:42 +0100 |
commit | 930696e48a992222d1edf15b00f7b566512428a7 (patch) | |
tree | 88ca90187318620feeb3d700f9637efc8ea3979c /src | |
parent | 601159e8e25028155a86de2e5fdf55c9402936d7 (diff) | |
download | biboumi-930696e48a992222d1edf15b00f7b566512428a7.tar.gz biboumi-930696e48a992222d1edf15b00f7b566512428a7.tar.bz2 biboumi-930696e48a992222d1edf15b00f7b566512428a7.tar.xz biboumi-930696e48a992222d1edf15b00f7b566512428a7.zip |
Remove useless cast
Diffstat (limited to 'src')
-rw-r--r-- | src/network/socket_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket_handler.cpp b/src/network/socket_handler.cpp index d774927..3f4c01d 100644 --- a/src/network/socket_handler.cpp +++ b/src/network/socket_handler.cpp @@ -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(); |