From 969b2f23a722e1b735d44625b9e9c8ef3756b43d Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Mon, 20 Sep 2021 19:08:04 +0200 Subject: [PATCH] refactor: fix spelling error --- src/network/TCPSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/TCPSocket.cpp b/src/network/TCPSocket.cpp index c9e1c67..873fb86 100644 --- a/src/network/TCPSocket.cpp +++ b/src/network/TCPSocket.cpp @@ -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; }