From ccf2e1468d1d98a3b6931fdd02ce8d73891cb037 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Feb 2007 20:03:42 +0000 Subject: Fix warning, remove unused var git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6543 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_http_client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules') 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) -- cgit v1.2.3