You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by jk...@apache.org on 2013/06/27 12:02:49 UTC

svn commit: r1497279 - /perl/modperl/branches/httpd24/lib/Apache2/compat.pm

Author: jkaluza
Date: Thu Jun 27 10:02:49 2013
New Revision: 1497279

URL: http://svn.apache.org/r1497279
Log:
Stay compatible with httpd-2.2 in Apache2::compat

Modified:
    perl/modperl/branches/httpd24/lib/Apache2/compat.pm

Modified: perl/modperl/branches/httpd24/lib/Apache2/compat.pm
URL: http://svn.apache.org/viewvc/perl/modperl/branches/httpd24/lib/Apache2/compat.pm?rev=1497279&r1=1497278&r2=1497279&view=diff
==============================================================================
--- perl/modperl/branches/httpd24/lib/Apache2/compat.pm (original)
+++ perl/modperl/branches/httpd24/lib/Apache2/compat.pm Thu Jun 27 10:02:49 2013
@@ -149,7 +149,7 @@ EOI
     require Apache2::Connection;
     require APR::SockAddr;
     require Socket;
-    my $orig_sub = *Apache2::Connection::client_addr{CODE};
+    my $orig_sub = *Apache2::Connection::remote_addr{CODE};
     *Apache2::Connection::remote_addr = sub {
         my $c = shift;
         if (@_) {