summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 1af2b51ff..cb2eeb041 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -95,7 +95,7 @@ InspSocket::InspSocket(std::string ahost, int port, bool listening, unsigned lon
}
else
{
- this->host = host;
+ this->host = ahost;
this->port = port;
if (!inet_aton(host.c_str(),&addy))