mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Refactor code and build system to use libpcre2 as the default
This commit is contained in:
@@ -584,7 +584,7 @@ static int is_response_status_relevant(modsec_rec *msr, int status) {
|
||||
|
||||
rc = msc_regexec(msr->txcfg->auditlog_relevant_regex, buf, strlen(buf), &my_error_msg);
|
||||
if (rc >= 0) return 1;
|
||||
#ifdef WITH_PCRE2
|
||||
#ifndef WITH_PCRE
|
||||
if (rc == PCRE2_ERROR_NOMATCH) return 0;
|
||||
#else
|
||||
if (rc == PCRE_ERROR_NOMATCH) return 0;
|
||||
|
Reference in New Issue
Block a user