mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fix return value of msc_rules_merge()
Regarding to the documentation msc_rules_merge() should return the number of merged rules instead of 0 in all cases.
This commit is contained in:
parent
4643501507
commit
85edff522d
@ -317,9 +317,7 @@ extern "C" void msc_rules_dump(Rules *rules) {
|
||||
|
||||
extern "C" int msc_rules_merge(Rules *rules_dst,
|
||||
Rules *rules_from) {
|
||||
rules_dst->merge(rules_from);
|
||||
|
||||
return 0;
|
||||
return rules_dst->merge(rules_from);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user