summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-03-25 19:17:39 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-03-25 19:17:39 +0000
commit0d64183c4900e580a08135abccfa1f1376166efb (patch)
treedd704827fa74a94de73ff070231c0dfb03812dd1
parent5a99d4040f367d4b1c8def73833849ae2be630bd (diff)
-rw-r--r--ChangeLog4
-rw-r--r--src/SocketCore.cc1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ff83770..1c491187 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
+
+ * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
+
2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
diff --git a/src/SocketCore.cc b/src/SocketCore.cc
index f4d02dce..b47571a7 100644
--- a/src/SocketCore.cc
+++ b/src/SocketCore.cc
@@ -134,7 +134,6 @@ void SocketCore::establishConnection(string host, int port) {
ai.ai_family = PF_INET;
ai.ai_socktype = SOCK_STREAM;
ai.ai_protocol = 0;
- ai.ai_addr = (struct sockaddr*)&sockaddr;
struct addrinfo* res;
int ec;
if((ec = getaddrinfo(host.c_str(), NULL, &ai, &res)) != 0) {