mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
fix argv in examples
This commit is contained in:
parent
5519f6cfae
commit
a1980c8419
@ -29,7 +29,7 @@ int main(int argc, char **argv) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
char *rule = *(argv++);
|
||||
char *rule = *(++argv);
|
||||
std::string rules(rule);
|
||||
ReadingLogsViaRuleMessage rlvrm(request_header, request_uri, request_body,
|
||||
response_headers, response_body, ip, rules);
|
||||
|
@ -133,7 +133,7 @@ int main(int argc, char **argv) {
|
||||
std::cout << std::endl << std::endl;
|
||||
return -1;
|
||||
}
|
||||
char *rule = *(argv++);
|
||||
char *rule = *(++argv);
|
||||
std::string rules_arg(rule);
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user