]> granicus.if.org Git - apache/commitdiff
Try fixing new proxy_hcheck expr extension.
authorRainer Jung <rjung@apache.org>
Thu, 21 Jan 2016 18:30:26 +0000 (18:30 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 21 Jan 2016 18:30:26 +0000 (18:30 +0000)
Interestingly mod_ssl using NULL as well,
but some other module I wrote uses parms->name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726051 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_hcheck.c

index f04c79045feabd2a37ec121228f3e9a915ef4aea..aa6559a688da787b97402cf3b15f03f784cebeb6 100644 (file)
@@ -987,7 +987,7 @@ static int hc_expr_lookup(ap_expr_lookup_parms *parms)
          */
         if (strcasecmp(parms->name, "HC") == 0) {
             *parms->func = hc_expr_func_fn;
-            *parms->data = NULL;
+            *parms->data = parms->name;
             return OK;
         }
         break;