]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_http_client.cpp
This needs some general QA-ing. Add support to new parser (introduced in 1.1) for...
[user/henk/code/inspircd.git] / src / modules / m_http_client.cpp
index 764d51be4ee2f5382ae3a05ce6295d88298b016d..5ddd6ddbd92a849f770e92fde85dff01c21a63c2 100644 (file)
@@ -1,4 +1,4 @@
-/*       +------------------------------------+
+;/*       +------------------------------------+
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
@@ -159,7 +159,6 @@ bool HTTPSocket::DoRequest(HTTPClientRequest *req)
        in_addr addy1;
 #ifdef IPV6
        in6_addr addy2;
-       char buf[MAXBUF];
        if ((inet_aton(this->host, &addy1) > 0) || (inet_pton(AF_INET6, this->host, &addy2) > 0))
 #else
        if (inet_aton(this->host, &addy1) > 0)