diff options
| author | 2008-03-30 02:48:54 +0000 | |
|---|---|---|
| committer | 2008-03-30 02:48:54 +0000 | |
| commit | 58385dd458e927994957b6d603f7f9da3fc52e14 (patch) | |
| tree | 70c39a58446bd4f60205a9c34cac78524a67dc54 /src/modules/m_http_client.cpp | |
| parent | The bug we fixed for bug #506 may still occur in trunk if a module adjusts th... (diff) | |
Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd now get treated like printf (meaning compile-time check goodness) in GCC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_http_client.cpp')
| -rw-r--r-- | src/modules/m_http_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index 9cf6e45b4..ef3cf5c33 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -260,7 +260,7 @@ void HTTPSocket::Connect(const std::string &ip) { this->response = new HTTPClientResponse((Module*)Mod, req.GetSource() , url.url, 0, ""); - Instance->Logs->Log("m_http_client",DEBUG,"HTTPSocket::Connect(%s) response=%08lx", ip.c_str(), response); + Instance->Logs->Log("m_http_client",DEBUG,"HTTPSocket::Connect(%s) response=%08lx", ip.c_str(), (unsigned long)response); strlcpy(this->IP, ip.c_str(), MAXBUF); strlcpy(this->host, ip.c_str(), MAXBUF); @@ -354,7 +354,7 @@ void HTTPSocket::OnClose() if (!closed) { closed = true; - Instance->Logs->Log("m_http_client",DEBUG,"HTTPSocket::OnClose response=%08lx", response); + Instance->Logs->Log("m_http_client",DEBUG,"HTTPSocket::OnClose response=%08lx", (unsigned long)response); std::string e; if (data.empty()) { |
