mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Cosmetic changes on #1031 to avoid compilation warning
This commit is contained in:
parent
e3b3721ee3
commit
c711808ef7
@ -665,7 +665,7 @@ static apr_status_t msre_action_proxy_execute(modsec_rec *msr, apr_pool_t *mptmp
|
||||
var = apr_pcalloc(mptmp, sizeof(msc_string));
|
||||
if (var == NULL) return -1;
|
||||
if (!strncmp(action->param,"[nocanon]",9)) {
|
||||
apr_table_setn(msr->r->notes,"proxy-nocanon",1);
|
||||
apr_table_setn(msr->r->notes,"proxy-nocanon", "1");
|
||||
var->value = (char *)action->param+9;
|
||||
} else {
|
||||
var->value = (char *)action->param;
|
||||
|
Loading…
x
Reference in New Issue
Block a user