From e39dff5001bdd36bd2a2ca546ff19ea39965f79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 19 Jun 2021 17:23:52 +0800 Subject: One handle for one request --- handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handler.c') 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)) -- cgit v1.2.3