Ignore:
Timestamp:
May 11, 2010, 8:22:06 PM (15 years ago)
Author:
katerina
Message:

Fix for ticket #209 (check for pcre_dfa_exec).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_log_evalrule.c

    r276 r285  
    10341034    mmm = replace_captures(record->message, rule->ovector,
    10351035                           rule->ovecnum);
     1036    rule->ovecnum = 0;
    10361037    msg = sh_util_safe_name_keepspace (sh_string_str(mmm));
    10371038  }
     
    11331134 */
    11341135static int  process_counter(struct sh_ceval * counter,
    1135                             struct sh_geval * rule,  struct sh_logrecord * record)
     1136                            struct sh_geval * rule, 
     1137                            struct sh_logrecord * record)
    11361138{
    11371139  int retval = -1;
     
    11421144      counter->counted_str = replace_captures(record->message, rule->ovector,
    11431145                                              rule->ovecnum);
     1146      rule->ovecnum        = 0;
    11441147      counter->filename    = sh_string_new_from_lchar(record->filename,
    11451148                                                      strlen(record->filename));
Note: See TracChangeset for help on using the changeset viewer.