Fix the usage of same expression on both sides of '||' in if --- tools/seq2bseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/seq2bseq.c b/tools/seq2bseq.c index 7657a57..23f6c9e 100644 --- a/tools/seq2bseq.c +++ b/tools/seq2bseq.c @@ -40,7 +40,7 @@ static int convert_line(int fd, const char *line) char str[3]; unsigned char val; - if (line[0] == '*' || line[0] == '\r' || line[0] == '\r') + if (line[0] == '*' || line[0] == '\r' || line[0] == '\n') return 0; while (1) { -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html