reset classname in xmltagend is not needed - tscrape - twitter scraper
(HTM) git clone git://git.codemadness.org/tscrape
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 21f2194359d8f863c8c3a3a77c48b2507c03f924
(DIR) parent df78a8500f5b4c3d7aaf400ae33d88ec2468ab62
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 12 Aug 2017 12:27:44 +0200
reset classname in xmltagend is not needed
Diffstat:
M tscrape.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/tscrape.c b/tscrape.c
@@ -162,8 +162,6 @@ html_entitytostr(const char *s, char *buf, size_t bufsiz)
static void
xmltagend(XMLParser *x, const char *t, size_t tl, int isshort)
{
- classname[0] = '\0';
-
if (!strcmp(t, "p"))
state &= ~Text;
else if (!strcmp(t, "span"))