Changeset 285 for trunk/src/sh_log_evalrule.c
- Timestamp:
- May 11, 2010, 8:22:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_log_evalrule.c
r276 r285 1034 1034 mmm = replace_captures(record->message, rule->ovector, 1035 1035 rule->ovecnum); 1036 rule->ovecnum = 0; 1036 1037 msg = sh_util_safe_name_keepspace (sh_string_str(mmm)); 1037 1038 } … … 1133 1134 */ 1134 1135 static 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) 1136 1138 { 1137 1139 int retval = -1; … … 1142 1144 counter->counted_str = replace_captures(record->message, rule->ovector, 1143 1145 rule->ovecnum); 1146 rule->ovecnum = 0; 1144 1147 counter->filename = sh_string_new_from_lchar(record->filename, 1145 1148 strlen(record->filename));
Note:
See TracChangeset
for help on using the changeset viewer.