Skip to content

Commit 20c7695

Browse files
committed
ml: Use binary byte conversion function
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 5e91524 commit 20c7695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multiline/flb_ml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ struct flb_ml *flb_ml_create(struct flb_config *ctx, char *name)
883883
}
884884

885885
ml->config = ctx;
886-
limit = flb_utils_size_to_bytes(ml->config->multiline_buffer_limit);
886+
limit = flb_utils_size_to_binary_bytes(ml->config->multiline_buffer_limit);
887887
if (limit > 0) {
888888
ml->buffer_limit = (size_t)limit;
889889
}

0 commit comments

Comments
 (0)