Change the paste file name to paste.txt - fiche - A pastebin adjusted for gopher use
(HTM) git clone git://vernunftzentrum.de/fiche.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit df71761d42bc036bfba5882af9ab0aa4863b6adf
(DIR) parent 1d247bf3df29866222634305bc66632101c05a36
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Fri, 2 Mar 2018 22:57:41 +0100
Change the paste file name to paste.txt
Diffstat:
fiche.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/fiche.c b/fiche.c
@@ -776,7 +776,7 @@ static int create_directory(char *output_dir, char *slug) {
static int save_to_file(const Fiche_Settings *s, uint8_t *data, char *slug) {
- char *file_name = "index.txt";
+ char *file_name = "paste.txt";
// Additional 2 bytes are for 2 slashes
size_t len = strlen(s->output_dir_path) + strlen(slug) + strlen(file_name) + 3;