mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Add missing 'retrun's for functions declared return value. This change fixes SIGILLs on executable built with clang 3.4.
Tested against FreeBSD 10.3.
This commit is contained in:
parent
1e6b40ebea
commit
57ad70bb2b
@ -31,6 +31,8 @@ bool CtlAuditLogParts::init(std::string *error) {
|
||||
} else {
|
||||
mPartsAction = 1;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CtlAuditLogParts::evaluate(Rule *rule, Transaction *transaction) {
|
||||
|
@ -46,6 +46,7 @@ int Driver::addSecMarker(std::string marker) {
|
||||
rule->phase = i;
|
||||
rules[i].push_back(rule);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user