Loading slc/trunk/src/connection.cc +2 −2 Original line number Diff line number Diff line Loading @@ -79,12 +79,12 @@ void Connection::connect_(const char *addr, int port) { pthread_mutex_unlock(&mtx_socket); if (con == -1) { disconnect_(); S << "Unable to connect: " << strerror(errno); S << "Unable to connect: " << strerror(errno) << ".\n"; return; } S << "Connected to " << h->h_name << " (" << inet_ntoa(*(struct in_addr*)h->h_addr) << ") on port " << port << "...\n"; << ") on port " << port << ".\n"; } void Connection::disconnect_() { Loading Loading
slc/trunk/src/connection.cc +2 −2 Original line number Diff line number Diff line Loading @@ -79,12 +79,12 @@ void Connection::connect_(const char *addr, int port) { pthread_mutex_unlock(&mtx_socket); if (con == -1) { disconnect_(); S << "Unable to connect: " << strerror(errno); S << "Unable to connect: " << strerror(errno) << ".\n"; return; } S << "Connected to " << h->h_name << " (" << inet_ntoa(*(struct in_addr*)h->h_addr) << ") on port " << port << "...\n"; << ") on port " << port << ".\n"; } void Connection::disconnect_() { Loading