Skip to content

Commit 2d7131e

Browse files
committed
compression: Fix a initailization glitch
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent acabb62 commit 2d7131e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_compression.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ struct flb_decompression_context *flb_decompression_context_create(int algorithm
201201
}
202202

203203
context->input_buffer_size = input_buffer_size;
204-
context->read_buffer = context->read_buffer;
204+
context->read_buffer = context->input_buffer;
205205
context->algorithm = algorithm;
206206
if (algorithm == FLB_COMPRESSION_ALGORITHM_GZIP) {
207207
context->state = FLB_DECOMPRESSOR_STATE_EXPECTING_HEADER;

0 commit comments

Comments
 (0)