reset classname in xmltagend is not needed - tscrape - twitter scraper | |
git clone git://git.codemadness.org/tscrape | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 21f2194359d8f863c8c3a3a77c48b2507c03f924 | |
parent df78a8500f5b4c3d7aaf400ae33d88ec2468ab62 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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")) |