From 76bf72f8c2c5b1524bf20a523fe1cf0d79d29742 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 17 Jan 2007 21:14:26 +0000 Subject: Mass comment removal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_http_client.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/modules/m_http_client.cpp') diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index 4b3edca55..b0fcccd47 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -231,7 +231,6 @@ void HTTPSocket::Connect(const string &ip) if (!this->DoConnect()) { - Server->Log(DEBUG, "Unable to connect HTTPSocket to %s", this->host); delete this; } } @@ -311,12 +310,9 @@ bool HTTPSocket::OnDataReady() void HTTPSocket::OnClose() { - if (!data.length()) - { - Server->Log(DEBUG, "HTTP socket closed unexpectedly (no content recieved)"); + if (data.empty()) return; - } - Server->Log(DEBUG, "Got file from HTTP successfully"); + response->data = data; response->Send(); delete response; -- cgit v1.3.1-10-gc9f91