Skip to content

Commit

Permalink
tls: moved the mode argument to the first position in flb_tls_create
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Aug 31, 2022
1 parent 8aca0f9 commit 68eeec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/fluent-bit/tls/flb_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ struct flb_tls {

int flb_tls_init();

struct flb_tls *flb_tls_create(int verify,
struct flb_tls *flb_tls_create(int mode,
int verify,
int debug,
int mode,
const char *vhost,
const char *ca_path,
const char *ca_file, const char *crt_file,
Expand Down
4 changes: 2 additions & 2 deletions src/tls/flb_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ int flb_tls_load_system_certificates(struct flb_tls *tls)
return load_system_certificates(tls->ctx);
}

struct flb_tls *flb_tls_create(int verify,
struct flb_tls *flb_tls_create(int mode,
int verify,
int debug,
int mode,
const char *vhost,
const char *ca_path,
const char *ca_file,
Expand Down

0 comments on commit 68eeec4

Please sign in to comment.