Skip to content

Commit c711808

Browse files
author
Felipe Zimmerle
committed
Cosmetic changes on #1031 to avoid compilation warning
1 parent e3b3721 commit c711808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/re_actions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ static apr_status_t msre_action_proxy_execute(modsec_rec *msr, apr_pool_t *mptmp
665665
var = apr_pcalloc(mptmp, sizeof(msc_string));
666666
if (var == NULL) return -1;
667667
if (!strncmp(action->param,"[nocanon]",9)) {
668-
apr_table_setn(msr->r->notes,"proxy-nocanon",1);
668+
apr_table_setn(msr->r->notes,"proxy-nocanon", "1");
669669
var->value = (char *)action->param+9;
670670
} else {
671671
var->value = (char *)action->param;

0 commit comments

Comments
 (0)