summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index dda2985..dd76a2d 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -612,7 +612,7 @@ xml_handler_start_element(XMLParser *p, const char *name, size_t namelen)
if(ctx.tag[0] != '\0')
return;
/* in item */
- strlcpy(ctx.tag, name, sizeof(ctx.tag));
+ strlcpy(ctx.tag, name, sizeof(ctx.tag)); /* NOTE: truncation ignored */
ctx.taglen = namelen;
ctx.tagid = gettag(ctx.item.feedtype, ctx.tag, ctx.taglen);
if(ctx.tagid == TagUnknown)