diff options
author | Xavier Roche <roche@httrack.com> | 2016-09-26 21:11:09 +0200 |
---|---|---|
committer | Xavier Roche <roche@httrack.com> | 2016-09-26 21:11:09 +0200 |
commit | db336d2304900463d2dea4e42cea18aff3b35a28 (patch) | |
tree | 1b588a246c6ac755ca05e98cbe59905e5176d40d | |
parent | a9a7aa6c523001a5fbedde801a536f13c417aed6 (diff) |
Fixed weird condition which anyway does what we wanted (spotted by dcb314)
-rw-r--r-- | src/htsparse.c | 2 |
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; |