From e1ea86186b5cf10056167a0479138ed65441fa60 Mon Sep 17 00:00:00 2001 From: Gowtham Anandha Babu Date: Mon, 15 Sep 2014 11:40:05 +0530 Subject: [PATCH] tools/seq2bseq : Fix the same expression issue in if condition 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 7657a573b..23f6c9e89 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) { -- 2.47.3