Skip to content

Commit 3c47d8c

Browse files
authored
http_client: fix format string mismatch (#2442)
fmt_plain expects 3 arguments, but body_len is the 4th. Signed-off-by: Zero King <[email protected]>
1 parent a2d0472 commit 3c47d8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/flb_http_client.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,7 @@ struct flb_http_client *flb_http_client(struct flb_upstream_conn *u_conn,
619619
fmt_plain,
620620
str_method,
621621
uri,
622-
flags & FLB_HTTP_10 ? 0 : 1,
623-
body_len);
622+
flags & FLB_HTTP_10 ? 0 : 1);
624623
}
625624
else {
626625
ret = snprintf(buf, FLB_HTTP_BUF_SIZE,

0 commit comments

Comments
 (0)