Skip to content

Commit

Permalink
network: fix type mismatch with format string (#2866)
Browse files Browse the repository at this point in the history
Signed-off-by: Zero King <[email protected]>
  • Loading branch information
l2dy authored Dec 15, 2020
1 parent 120dc52 commit a6b1111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static int net_connect_sync(int fd, const struct sockaddr *addr, socklen_t addrl
/* Timeout */
flb_error("[net] connection #%i timeout after %i seconds to: "
"%s:%i",
fd, timeout, host, port);
fd, connect_timeout, host, port);
goto exit_error;
}
else if (ret < 0) {
Expand Down

0 comments on commit a6b1111

Please sign in to comment.