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) {
637637/**
638638 * Generate an action string from an actionset.
639639 */
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 ) {
641644 const apr_array_header_t * tarr = NULL ;
642645 const apr_table_entry_t * telts = NULL ;
643646 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);
7575msre_var DSOLOCAL * generate_single_var (modsec_rec * msr , msre_var * var , apr_array_header_t * tfn_arr ,
7676 msre_rule * rule , apr_pool_t * mptmp );
7777
78+ #ifdef DEBUG_CONF
79+ char DSOLOCAL * msre_actionset_generate_action_string (apr_pool_t * pool , const msre_actionset * actionset );
80+ #endif
81+
7882#if defined(WITH_LUA )
7983apr_table_t DSOLOCAL * generate_multi_var (modsec_rec * msr , msre_var * var , apr_array_header_t * tfn_arr ,
8084 msre_rule * rule , apr_pool_t * mptmp );
You can’t perform that action at this time.
0 commit comments