Skip to content

Commit 6861f98

Browse files
author
Jan Kaluža
committed
Stay compatible with httpd-2.2 in Apache2::compat
git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/branches/httpd24@1497279 13f79535-47bb-0310-9956-ffa450edef68
1 parent a1ae89a commit 6861f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Apache2/compat.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ EOI
149149
require Apache2::Connection;
150150
require APR::SockAddr;
151151
require Socket;
152-
my $orig_sub = *Apache2::Connection::client_addr{CODE};
152+
my $orig_sub = *Apache2::Connection::remote_addr{CODE};
153153
*Apache2::Connection::remote_addr = sub {
154154
my $c = shift;
155155
if (@_) {

0 commit comments

Comments
 (0)