~singpolyma/biboumi

954d271d509356ab8042976b9add577150254b64 — louiz’ 7 years ago 92c99bb
Fix the argument of strerror after bind()

fix coverity CID 134470
1 files changed, 1 insertions(+), 1 deletions(-)

M louloulibs/network/tcp_socket_handler.cpp
M louloulibs/network/tcp_socket_handler.cpp => louloulibs/network/tcp_socket_handler.cpp +1 -1
@@ 80,7 80,7 @@ void TCPSocketHandler::init_socket(const struct addrinfo* rp)
            }
          if (!rp)
            log_error("Failed to bind socket to ", this->bind_addr, ": ",
                      strerror(bind_error));
                      strerror(errno));
          else
            log_info("Socket successfully bound to ", this->bind_addr);
        }