Skip to content

Commit

Permalink
lib: fix looking for output instance
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro YAMASHITA <[email protected]>
  • Loading branch information
nokute78 committed Oct 6, 2016
1 parent 5110bf1 commit 33303a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static inline struct flb_output_instance *out_instance_get(flb_ctx_t *ctx,
struct mk_list *head;
struct flb_output_instance *o_ins;

mk_list_foreach(head, &ctx->config->inputs) {
mk_list_foreach(head, &ctx->config->outputs) {
o_ins = mk_list_entry(head, struct flb_output_instance, _head);

/*
Expand Down

0 comments on commit 33303a5

Please sign in to comment.