httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1726051 - /httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
Date Thu, 21 Jan 2016 18:30:26 GMT
Author: rjung
Date: Thu Jan 21 18:30:26 2016
New Revision: 1726051

URL: http://svn.apache.org/viewvc?rev=1726051&view=rev
Log:
Try fixing new proxy_hcheck expr extension.

Interestingly mod_ssl using NULL as well,
but some other module I wrote uses parms->name.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1726051&r1=1726050&r2=1726051&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Thu Jan 21 18:30:26 2016
@@ -987,7 +987,7 @@ static int hc_expr_lookup(ap_expr_lookup
          */
         if (strcasecmp(parms->name, "HC") == 0) {
             *parms->func = hc_expr_func_fn;
-            *parms->data = NULL;
+            *parms->data = parms->name;
             return OK;
         }
         break;



Mime
View raw message