in_forward: fix callback prototype
* accept the connection and create a new FW instance which will wait for
* MessagePack records.
*/
-static int in_fw_collect(struct flb_config *config, void *in_context)
+static int in_fw_collect(struct flb_input_instance *i_ins,
+ struct flb_config *config, void *in_context)
{
int fd;
struct flb_in_fw_config *ctx = in_context;
struct fw_conn *conn;
+ (void) i_ins;
/* Accept the new connection */
fd = flb_net_accept(ctx->server_fd);
