summaryrefslogtreecommitdiff
path: root/src/SocketCore.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SocketCore.cc')
-rw-r--r--src/SocketCore.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc
index 5a8109eb..7430e0a1 100644
--- a/src/SocketCore.cc
+++ b/src/SocketCore.cc
@@ -294,7 +294,7 @@ void SocketCore::bind
error = "Given address and resolved address do not match.";
continue;
}
- sock_t fd = bindTo(addrp, port, family, sockType_, flags, error);
+ sock_t fd = bindTo(host, port, family, sockType_, flags, error);
if(fd != (sock_t)-1) {
sockfd_ = fd;
break;