diff options
-rw-r--r-- | src/socket.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index bd60540..3870a59 100644 --- a/src/socket.cpp +++ b/src/socket.cpp | |||
@@ -97,9 +97,8 @@ Bu::Socket::Socket( const Bu::FString &sAddr, int nPort, int nTimeout ) | |||
97 | 97 | ||
98 | pCur = pCur->ai_next; | 98 | pCur = pCur->ai_next; |
99 | } | 99 | } |
100 | throw Bu::SocketException("%d: Couldn't resolve hostname %s (%s).\n", | 100 | throw Bu::SocketException("Couldn't resolve hostname %s (%s).\n", |
101 | ret, | 101 | sAddr.getStr(), gai_strerror(ret)); |
102 | sAddr.getStr(), strerror(errno)); | ||
103 | } | 102 | } |
104 | 103 | ||
105 | struct addrinfo *pCur = pAddr; | 104 | struct addrinfo *pCur = pAddr; |