Skip to content

Commit 7c09c6f

Browse files
committed
compression: Fix a initailization glitch
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent e4b5e8a commit 7c09c6f

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
@@ -206,7 +206,7 @@ struct flb_decompression_context *flb_decompression_context_create(int algorithm
206206
}
207207

208208
context->input_buffer_size = input_buffer_size;
209-
context->read_buffer = context->read_buffer;
209+
context->read_buffer = context->input_buffer;
210210
context->algorithm = algorithm;
211211
if (algorithm == FLB_COMPRESSION_ALGORITHM_GZIP) {
212212
context->state = FLB_DECOMPRESSOR_STATE_EXPECTING_HEADER;

0 commit comments

Comments
 (0)