diff options
Diffstat (limited to 'src/SocketCore.cc')
| -rw-r--r-- | src/SocketCore.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |
