From b54285f35301d7990a2007d7330a53e542cb8ae1 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Wed, 21 Jul 2021 18:24:24 -0300 Subject: [PATCH] out_s3: added extra argument to flb_sched_timer_cb_create call Signed-off-by: Leonardo Alminana --- plugins/out_s3/s3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/out_s3/s3.c b/plugins/out_s3/s3.c index 3a6304c4d7e..d2d3055313c 100644 --- a/plugins/out_s3/s3.c +++ b/plugins/out_s3/s3.c @@ -1397,7 +1397,7 @@ static void cb_s3_flush(const void *data, size_t bytes, ret = flb_sched_timer_cb_create(sched, FLB_SCHED_TIMER_CB_PERM, ctx->timer_ms, cb_s3_upload, - ctx); + ctx, NULL); if (ret == -1) { flb_plg_error(ctx->ins, "Failed to create upload timer"); FLB_OUTPUT_RETURN(FLB_RETRY);