refactor: fix spelling error
This commit is contained in:
@@ -35,7 +35,7 @@ bool TCPSocket::Connect(const IPAddress& address, unsigned short port) {
|
||||
hints.ai_protocol = IPPROTO_TCP;
|
||||
|
||||
if (getaddrinfo(address.ToString().c_str(), std::to_string(port).c_str(), &hints, &result) != 0) {
|
||||
std::cerr << "Failed to get adress info !\n";
|
||||
std::cerr << "Failed to get address info !\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user