diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-07 20:03:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-07 20:03:42 +0000 |
commit | ccf2e1468d1d98a3b6931fdd02ce8d73891cb037 (patch) | |
tree | 6bf9a68e6e3e01d4d57535008e8e5716624578ca /src/modules | |
parent | bfe3ce79fb1a5b36c3b8b6995baec0fd92c2dd98 (diff) |
Fix warning, remove unused var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6543 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_http_client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index 764d51be4..5ddd6ddbd 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -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) |