From 7e561c490e1460ec5a42e7a1e82f432b464a7f57 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 9 Mar 2026 23:26:25 +0900 Subject: [PATCH] do not copy index.xml --- src/site.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site.c b/src/site.c index 3a49381..bc3d186 100644 --- a/src/site.c +++ b/src/site.c @@ -51,7 +51,7 @@ static int scan(const char* top, int mode, const char* path) { return 0; } - } else if(!mode) { + } else if(!mode && strcmp(d->d_name, "index.xml") != 0) { char* po = u_strvacat(out, d->d_name, NULL); FILE* fin = fopen(p, "rb"); FILE* fout = fopen(po, "wb");