summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_http_client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp
index 7e8e28b0b..d96b8e59f 100644
--- a/src/modules/m_http_client.cpp
+++ b/src/modules/m_http_client.cpp
@@ -250,8 +250,9 @@ bool HTTPSocket::ParseURL(const std::string &iurl)
void HTTPSocket::Connect(const string &ip)
{
- Instance->Log(DEBUG,"HTTPSocket::Connect");
+ Instance->Log(DEBUG,"HTTPSocket::Connect(%s)", ip.c_str());
strlcpy(this->IP, ip.c_str(), MAXBUF);
+ strlcpy(this->host, ip.c_str(), MAXBUF);
if (!this->DoConnect())
this->Close();