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);