Skip to content

Commit 7d8bbe6

Browse files
Robert Stephensedsiper
authored andcommitted
input: fix protocol comparisson
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 0bd9b04 commit 7d8bbe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static int check_protocol(const char *prot, const char *output)
4444
int len;
4545

4646
len = strlen(prot);
47-
if (len > strlen(output)) {
47+
if (len != strlen(output)) {
4848
return 0;
4949
}
5050

0 commit comments

Comments
 (0)