Skip to content

Commit

Permalink
out_http: Fix bug where post_all_requests() always returns a value le…
Browse files Browse the repository at this point in the history
…ss than 0
  • Loading branch information
nicehide authored and edsiper committed Sep 21, 2023
1 parent d51231c commit f6a48df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_http/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static int post_all_requests(struct flb_out_http *ctx,
return -1;
}

while ((ret = flb_log_event_decoder_next(
while ((flb_log_event_decoder_next(
&log_decoder,
&log_event)) == FLB_EVENT_DECODER_SUCCESS) {
headers = NULL;
Expand Down

0 comments on commit f6a48df

Please sign in to comment.