diff options
-rw-r--r-- | sfeed_web.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sfeed_web.c b/sfeed_web.c index c9cea05..e0ab874 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -27,10 +27,12 @@ xmltagstart(XMLParser *p, const char *t, size_t tl) { isbasetag = islinktag = 0; - if (!strcasecmp(t, "base")) + if (!strcasecmp(t, "base")) { isbasetag = 1; - else if (!strcasecmp(t, "link")) + } else if (!strcasecmp(t, "link")) { islinktag = 1; + linkhref[0] = '\0'; + } } static void |