summaryrefslogtreecommitdiff
path: root/src/modules/httpclient.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-11 10:26:18 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-11 10:26:18 +0000
commit4798f98adad084cf9e207cc7b32d7e4370e9cc90 (patch)
tree97c98887415f3ec339212b3d179664ba11fb3a48 /src/modules/httpclient.h
parent25c8c8ba0247236f660bbbbfc665ae735f88fc31 (diff)
Last of the -Wshadow fixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/httpclient.h')
-rw-r--r--src/modules/httpclient.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/httpclient.h b/src/modules/httpclient.h
index 475ee1540..e2067f8b3 100644
--- a/src/modules/httpclient.h
+++ b/src/modules/httpclient.h
@@ -35,8 +35,8 @@ class HTTPClientRequest : public Request
Module *src;
HeaderMap Headers;
public:
- HTTPClientRequest(InspIRCd *Instance, Module *src, Module* target, const std::string &url)
- : Request(src, target, HTTP_CLIENT_REQUEST), url(url), Instance(Instance), src(src)
+ HTTPClientRequest(InspIRCd *SI, Module *m, Module* target, const std::string &surl)
+ : Request(m, target, HTTP_CLIENT_REQUEST), url(surl), Instance(SI), src(m)
{
Headers["User-Agent"] = "InspIRCd (m_http_client.so)";
Headers["Connection"] = "Close";
@@ -52,9 +52,9 @@ class HTTPClientRequest : public Request
return url;
}
- void AddHeader(std::string &header, std::string &data)
+ void AddHeader(std::string &header, std::string &sdata)
{
- Headers[header] = data;
+ Headers[header] = sdata;
}
void DeleteHeader(std::string &header)
@@ -77,8 +77,8 @@ class HTTPClientError : public Request
std::string responsestr;
HeaderMap Headers;
public:
- HTTPClientError(Module* src, Module* target, const std::string &url, int response)
- : Request(src, target, HTTP_CLIENT_ERROR), url(url), response(response)
+ HTTPClientError(Module* src, Module* target, const std::string &surl, int iresponse)
+ : Request(src, target, HTTP_CLIENT_ERROR), url(surl), response(iresponse)
{
}
@@ -99,8 +99,8 @@ class HTTPClientResponse : public Request
std::string responsestr;
HeaderMap Headers;
public:
- HTTPClientResponse(Module* src, Module* target, std::string &url, int response, std::string responsestr)
- : Request(src, target, HTTP_CLIENT_RESPONSE), url(url), response(response), responsestr(responsestr)
+ HTTPClientResponse(Module* src, Module* target, std::string &surl, int iresponse, std::string sresponsestr)
+ : Request(src, target, HTTP_CLIENT_RESPONSE), url(surl), response(iresponse), responsestr(sresponsestr)
{
}
@@ -113,9 +113,9 @@ class HTTPClientResponse : public Request
data = ndata;
}
- void AddHeader(const std::string &header, const std::string &data)
+ void AddHeader(const std::string &header, const std::string &sdata)
{
- Headers[header] = data;
+ Headers[header] = sdata;
}
const std::string &GetURL()