From 859e1bad934524b4171005f57ceb0d78174bf55e Mon Sep 17 00:00:00 2001
From: nishi <nishi@cc13bd98-b292-b64a-ad22-c0789b689ca7>
Date: Sun, 5 May 2024 07:50:39 +0000
Subject: [PATCH] fix

git-svn-id: file:///raid/svn-main/nishi-clover/trunk@10 cc13bd98-b292-b64a-ad22-c0789b689ca7
---
 clover.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clover.c b/clover.c
index c3c68f4..9ec04ef 100644
--- a/clover.c
+++ b/clover.c
@@ -39,7 +39,7 @@
 
 #include <expat.h>
 
-#define CLOVER_VERSION "1.0A"
+#define CLOVER_VERSION "1.0B"
 
 char* concat_str(const char* str1, const char* str2) {
 	char* r = malloc(strlen(str1) + strlen(str2) + 1);
@@ -320,7 +320,7 @@ void scan_and_print(FILE* f, const char* path, const char* http){
 					}
 					XML_ParserFree(sparser);
 					if(!page_do_not_index2){
-						fprintf(f, "<dt><a href=\"%s%s\">", http_path, http);
+						fprintf(f, "<dt><a href=\"%s/%s\">", http_path, http);
 						if(page_icon2 != NULL) fprintf(f, "<img src=\"%s/static/%s\">", http_path, page_icon2);
 						if(page_icon2 != NULL) fprintf(f, "</a> ");
 						if(page_title2 != NULL) fprintf(f, "<b>%s </b>", page_title2);
-- 
2.43.0