File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ source_affile_options
179
179
;
180
180
181
181
source_affile_option
182
- : KW_FOLLOW_FREQ '(' nonnegative_float ')' { file_reader_options_set_follow_freq(last_file_reader_options, (long ) ($3 * 1000)); }
183
- | KW_PAD_SIZE '(' nonnegative_integer ')' { last_log_proto_options->pad_size = $3; }
182
+ : KW_FOLLOW_FREQ '(' nonnegative_float ')' { file_reader_options_set_follow_freq(last_file_reader_options, (gint ) ($3 * 1000)); }
183
+ | KW_PAD_SIZE '(' nonnegative_integer ')' { last_log_proto_options->pad_size = $3; }
184
184
| multi_line_option
185
185
| multi_line_timeout
186
186
| file_perm_option
@@ -240,9 +240,9 @@ source_afpipe_option
240
240
;
241
241
242
242
multi_line_timeout
243
- : KW_MULTI_LINE_TIMEOUT '(' nonnegative_integer ')'
243
+ : KW_MULTI_LINE_TIMEOUT '(' nonnegative_float ')'
244
244
{
245
- file_reader_options_set_multi_line_timeout(last_file_reader_options, ($3 * 1000));
245
+ file_reader_options_set_multi_line_timeout(last_file_reader_options, (gint) ($3 * 1000));
246
246
}
247
247
;
248
248
You can’t perform that action at this time.
0 commit comments