Skip to content

Commit

Permalink
Fix bug where initSocket was not being called
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Gauci committed Oct 15, 2018
1 parent 4e474fd commit 9963f2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base/TcpSocketHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ int TcpSocketHandler::connect(const SocketEndpoint &endpoint) {
if (sockFd == -1) {
LOG(ERROR) << "ERROR, no host found";
} else {
initSocket(sockFd);
addToActiveSockets(sockFd);
}

Expand Down

0 comments on commit 9963f2a

Please sign in to comment.