Fix typo in SocketException message

pull/8/head
Alex Tanskanen 5 years ago committed by Lauri Kasanen
parent 57427d5d33
commit 209712b18f

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

Loading…
Cancel
Save