summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htsparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsparse.c b/src/htsparse.c
index 594616c..f31207b 100644
--- a/src/htsparse.c
+++ b/src/htsparse.c
@@ -1512,8 +1512,8 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
}
// Suspicious, abort.
else if (a[i] == '"' || a[i] == '\''
- || a[i] != '\t' || a[i] != '\r'
- || a[i] != '\n') {
+ || a[i] == '\t' || a[i] == '\r'
+ || a[i] == '\n') {
a = NULL;
break;
} else if (a[i] != ' ') {