1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

mod_lua: If a regex fails, return false plus an error message as second return value. Also fix some functions who weren't always returning a value.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-12-15 22:03:47 +00:00
parent 98dd7b8224
commit 5a3e2e44dc
2 changed files with 18 additions and 9 deletions

View File

@@ -116,6 +116,7 @@ static const char *scope_to_string(unsigned int scope)
#endif
default:
ap_assert(0);
return 0;
}
}