diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-01 09:31:53 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-01 09:31:53 +0000 |
commit | 36f1288c807a40db2dc96faf2096ae37d63cbf09 (patch) | |
tree | 73e2ca77f832346cfa6485d662c521405d4e45ce /src | |
parent | 7f82ef46816b65268b231e75eb403faf2801e52a (diff) |
Cosmetic
Diffstat (limited to 'src')
-rw-r--r-- | src/htslib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htslib.c b/src/htslib.c index f74efe1..f29afad 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -3791,11 +3791,11 @@ HTSEXT_API char *unescape_http_unharm(char *catbuff, const char *s, int no_high) if (s[i] == '%') { int nchar = (char) ehex(s + i + 1); - int test = ((CHAR_RESERVED(nchar) && nchar != '+') /* %2B => + (not in query!) */ - ||CHAR_DELIM(nchar) + int test = (( CHAR_RESERVED(nchar) && nchar != '+') /* %2B => + (not in query!) */ + || CHAR_DELIM(nchar) || CHAR_UNWISE(nchar) || CHAR_LOW(nchar) /* CHAR_SPECIAL */ - ||CHAR_XXAVOID(nchar) + || CHAR_XXAVOID(nchar) || ((no_high) && CHAR_HIG(nchar) ) |