diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/socket.cpp | 2 |
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)) |