From c30806b15999b4c35649ddea54b2be6ac9a14620 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 21 Oct 2020 00:31:51 +0200 Subject: sfeed_web: reset feedlink buffer Noticed strange output on the site ascii.jp: The site HTML contained: This would print: "/img/apple-touch-icon.png application/rss+xml" Now it prints: " application/rss+xml" --- sfeed_web.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sfeed_web.c b/sfeed_web.c index 563b0b3..308d22c 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -25,6 +25,7 @@ static void xmltagstart(XMLParser *p, const char *t, size_t tl) { isbase = islink = isfeedlink = 0; + feedlink[0] = '\0'; if (!strcasecmp(t, "base")) isbase = 1; -- cgit v1.2.3