]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Log the actual problem if parsing of 'Require expr' fails
authorStefan Fritsch <sf@apache.org>
Sun, 17 Jun 2012 08:46:56 +0000 (08:46 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 17 Jun 2012 08:46:56 +0000 (08:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1351074 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authz_core.c

index 2aeda266813d21e9c5a28a2a2ee4d680e5e5eac1..d87928254c76213d8cb22635580591f7c88c846a 100644 (file)
@@ -1071,7 +1071,9 @@ static const char *expr_parse_config(cmd_parms *cmd, const char *require_line,
                                    expr_lookup_fn);
 
     if (expr_err)
-        return "Cannot parse expression in require line";
+        return apr_pstrcat(cmd->temp_pool,
+                           "Cannot parse expression in require line: ",
+                           expr_err, NULL);
 
     *parsed_require_line = info;