summaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-19 17:23:52 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-19 17:23:52 +0800
commite39dff5001bdd36bd2a2ca546ff19ea39965f79c (patch)
tree7587573d78263cb15f5f67bad597ff3d9a0ed96e /handler.c
parentc3ede83912dd2d9e63806da18e71728b29f924ac (diff)
One handle for one request
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))