Added matching rules to audit log data. See #93.

This commit is contained in:
brectanus
2007-11-30 00:52:21 +00:00
parent 85053718d9
commit dcdce0cbc5
7 changed files with 24 additions and 1 deletions

View File

@@ -304,6 +304,9 @@ apr_status_t modsecurity_tx_init(modsec_rec *msr) {
msr->tcache = apr_hash_make(msr->mp);
if (msr->tcache == NULL) return -1;
msr->matched_rules = apr_array_make(msr->mp, 16, sizeof(void *));
if (msr->matched_rules == NULL) return -1;
msr->matched_var = (msc_string *)apr_pcalloc(msr->mp, sizeof(msc_string));
if (msr->matched_var == NULL) return -1;