summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-01 09:31:53 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-01 09:31:53 +0000
commit36f1288c807a40db2dc96faf2096ae37d63cbf09 (patch)
tree73e2ca77f832346cfa6485d662c521405d4e45ce /src
parent7f82ef46816b65268b231e75eb403faf2801e52a (diff)
Cosmetic
Diffstat (limited to 'src')
-rw-r--r--src/htslib.c6
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)
)