Skip to content

Commit 62d969c

Browse files
committed
typo
1 parent 10859e0 commit 62d969c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_oauth2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct flb_oauth2 *flb_oauth2_create(struct flb_config *config,
231231
ctx->u = flb_upstream_create_url(config, auth_url,
232232
FLB_IO_TLS, ctx->tls);
233233
}
234-
else (strcmp(prot, "http")) {
234+
else if (strcmp(prot, "http")) {
235235
ctx->u = flb_upstream_create_url(config, auth_url,
236236
FLB_IO_TCP, NULL);
237237
}

0 commit comments

Comments
 (0)