File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,10 @@ static char *msre_generate_target_string(apr_pool_t *pool, msre_rule *rule) {
637
637
/**
638
638
* Generate an action string from an actionset.
639
639
*/
640
- static char * msre_actionset_generate_action_string (apr_pool_t * pool , const msre_actionset * actionset ) {
640
+ #ifndef DEBUG_CONF
641
+ static
642
+ #endif
643
+ char * msre_actionset_generate_action_string (apr_pool_t * pool , const msre_actionset * actionset ) {
641
644
const apr_array_header_t * tarr = NULL ;
642
645
const apr_table_entry_t * telts = NULL ;
643
646
char * actions = NULL ;
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ int DSOLOCAL rule_id_in_range(int ruleid, const char *range);
75
75
msre_var DSOLOCAL * generate_single_var (modsec_rec * msr , msre_var * var , apr_array_header_t * tfn_arr ,
76
76
msre_rule * rule , apr_pool_t * mptmp );
77
77
78
+ #ifdef DEBUG_CONF
79
+ char DSOLOCAL * msre_actionset_generate_action_string (apr_pool_t * pool , const msre_actionset * actionset );
80
+ #endif
81
+
78
82
#if defined(WITH_LUA )
79
83
apr_table_t DSOLOCAL * generate_multi_var (modsec_rec * msr , msre_var * var , apr_array_header_t * tfn_arr ,
80
84
msre_rule * rule , apr_pool_t * mptmp );
You can’t perform that action at this time.
0 commit comments