0011-stagit-index.c-Let-HTTP-server-provide-default-index.patch (835B)
- From 10892ee7c67d59d809eb84fa88937a336635af5f Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Sat, 8 Apr 2017 17:51:33 +0200
- Subject: [PATCH 11/22] stagit-index.c: Let HTTP server provide default index
- ---
- stagit-index.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
- diff --git a/stagit-index.c b/stagit-index.c
- index cc70e4d..b4142ff 100644
- --- a/stagit-index.c
- +++ b/stagit-index.c
- @@ -124,7 +124,8 @@ writelog(FILE *fp)
- fputs("<tr><td><a href=\"", fp);
- xmlencode(fp, stripped_name, strlen(stripped_name));
- - fputs("/log.html\">", fp);
- + /*fputs("/log.html\">", fp); Let http server set default index */
- + fputs("/\">", fp);
- xmlencode(fp, stripped_name, strlen(stripped_name));
- fputs("</a></td><td>", fp);
- xmlencode(fp, description, strlen(description));
- --
- 2.26.2