Fix typo in SocketException message

This commit is contained in:
Alex Tanskanen 2020-03-05 09:35:35 +01:00 committed by Lauri Kasanen
parent 57427d5d33
commit 209712b18f

View File

@ -220,7 +220,7 @@ TcpSocket::TcpSocket(const char *host, int port)
if (err == 0)
throw Exception("No useful address for host");
else
throw SocketException("unable connect to socket", err);
throw SocketException("unable to connect to socket", err);
}
// Take proper ownership of the socket