summaryrefslogtreecommitdiffstats
path: root/base/tps/src/modules/tps/AP_Session.cpp
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2012-08-06 15:46:50 -0700
committerMatthew Harmsen <mharmsen@redhat.com>2012-08-07 15:24:04 -0700
commit1a4982f584012a7efd2882dccb68ab93736e99e9 (patch)
tree5869798090e397a94d0239b58d25c42257a3dc77 /base/tps/src/modules/tps/AP_Session.cpp
parentf8c945cbf2f0591feede41ce376d9b0fa13058e1 (diff)
downloadpki-1a4982f584012a7efd2882dccb68ab93736e99e9.tar.gz
pki-1a4982f584012a7efd2882dccb68ab93736e99e9.tar.xz
pki-1a4982f584012a7efd2882dccb68ab93736e99e9.zip
Port TPS to httpd 2.4
The API changed between httpd 2.2 and 2.4. We now need to pass the module index to ap_log_error() when calling it. The remote_ip member of the connection struct also was renamed to client_ip.
Diffstat (limited to 'base/tps/src/modules/tps/AP_Session.cpp')
-rw-r--r--base/tps/src/modules/tps/AP_Session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/tps/src/modules/tps/AP_Session.cpp b/base/tps/src/modules/tps/AP_Session.cpp
index 36f455355..16d6d4e5e 100644
--- a/base/tps/src/modules/tps/AP_Session.cpp
+++ b/base/tps/src/modules/tps/AP_Session.cpp
@@ -128,7 +128,7 @@ AP_Session::~AP_Session()
char *AP_Session::GetRemoteIP()
{
- return ( m_rq->connection->remote_ip );
+ return ( m_rq->connection->client_ip );
}