summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/htsparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsparse.c b/src/htsparse.c
index b7a5c1c..1746429 100644
--- a/src/htsparse.c
+++ b/src/htsparse.c
@@ -699,7 +699,7 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
break;
case 1:
// And the closing comment info tag
- if ((p = strfield(html, "</html") != 0)) {
+ if ((p = strfield(html, "</html")) != 0) {
emited_footer++;
} else {
p = 0;