Commit 4e70ea6d authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Registered callbacks are NONSTD or must be specially

declared in the function prototype of the c/b arg.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664172 13f79535-47bb-0310-9956-ffa450edef68
parent 12df1ff0
Loading
Loading
Loading
Loading
+2 −1
Changes for server/util_expr.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -894,7 +894,8 @@ AP_DECLARE(int) ap_expr_evalstring(request_rec *r, const char *expr,


static ap_regex_t *isvar = NULL;
AP_DECLARE(const char*) ap_expr_string(request_rec *r, const char *str)
AP_DECLARE_NONSTD(const char*) ap_expr_string(request_rec *r, 
                                              const char *str)
{
    /* a default string evaluator: support headers and env */
    const char *ret = str;