summaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index 5648731..a5833b8 100644
--- a/handler.c
+++ b/handler.c
@@ -34,7 +34,7 @@ static void recurse(TidyDoc doc, TidyNode tnod, struct icclient_catalog **catalo
sprintf(prefix, "%s%s", image_dir, subdir);
size_t prefix_len = strlen(prefix);
for (TidyAttr attr = tidyAttrFirst(child); attr; attr = tidyAttrNext(attr)) {
- ctmbstr name = tidyAttrName(attr);
+ name = tidyAttrName(attr);
ctmbstr value = tidyAttrValue(attr);
if (!strcmp(name, "src")) {
if (strncmp(value, prefix, prefix_len))