out_splunk: use new upstream prototype for tls handling
@@ -60,7 +60,7 @@ struct flb_splunk *flb_splunk_conf_create(struct flb_output_instance *ins,
ins->host.name,
ins->host.port,
io_flags,
- &ins->tls);
+ ins->tls);
if (!upstream) {
flb_plg_error(ctx->ins, "cannot create Upstream context");
flb_splunk_conf_destroy(ctx);
