aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-14 20:20:50 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-14 20:20:50 +0000
commit13de3079105d65f130db04adc9d3004f4651cd69 (patch)
treee174b1db4be8fef338c1fd1c58c95d822048d5e4 /src
parente5cfc6a4889f9ca486b07d3be870adbe37b7470d (diff)
downloadlibbu++-13de3079105d65f130db04adc9d3004f4651cd69.tar.gz
libbu++-13de3079105d65f130db04adc9d3004f4651cd69.tar.bz2
libbu++-13de3079105d65f130db04adc9d3004f4651cd69.tar.xz
libbu++-13de3079105d65f130db04adc9d3004f4651cd69.zip
Ok, no...now we have better debugging.
Diffstat (limited to '')
-rw-r--r--src/socket.cpp5
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;