perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go...@apache.org
Subject svn commit: r933409 - /perl/modperl/trunk/xs/Apache2/RequestRec/Apache2__RequestRec.h
Date Mon, 12 Apr 2010 21:00:44 GMT
Author: gozer
Date: Mon Apr 12 21:00:43 2010
New Revision: 933409

URL: http://svn.apache.org/viewvc?rev=933409&view=rev
Log:
Use the PROXYREQ_PROXY instead of the litteral value 1 for increased readability

Modified:
    perl/modperl/trunk/xs/Apache2/RequestRec/Apache2__RequestRec.h

Modified: perl/modperl/trunk/xs/Apache2/RequestRec/Apache2__RequestRec.h
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/xs/Apache2/RequestRec/Apache2__RequestRec.h?rev=933409&r1=933408&r2=933409&view=diff
==============================================================================
--- perl/modperl/trunk/xs/Apache2/RequestRec/Apache2__RequestRec.h (original)
+++ perl/modperl/trunk/xs/Apache2/RequestRec/Apache2__RequestRec.h Mon Apr 12 21:00:43 2010
@@ -59,7 +59,7 @@ int mpxs_Apache2__RequestRec_proxyreq(pT
                                    r->parsed_uri.port :
                                    ap_default_port(r))))
     {
-        retval = r->proxyreq = 1;
+        retval = r->proxyreq = PROXYREQ_PROXY;
         r->uri = r->unparsed_uri;
         /* else mod_proxy will segfault */
         r->filename = apr_pstrcat(r->pool, "modperl-proxy:", r->uri, NULL);



Mime
View raw message