From 14ec1caae5e4e0b3fb46b7024660795fbc84105f Mon Sep 17 00:00:00 2001 From: 8nl <8nl@noreply.git.macaw.me> Date: Sat, 3 May 2025 07:18:43 +0000 Subject: [PATCH] Upload files to "/" --- img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/img.c b/img.c index ae664af..27fcdce 100644 --- a/img.c +++ b/img.c @@ -369,7 +369,7 @@ void build_html(const char *file, const struct UNIQ_TAGS ut, struct DB_STR *db) while (p != NULL) { struct DB_STR *i = p->next; - if (count > POST_PER_PAGE) { + if (count >= POST_PER_PAGE) { count = 0; pages++; }