Change the paste file name to paste.txt - fiche - A pastebin adjusted for gophe… | |
git clone git://vernunftzentrum.de/fiche.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit df71761d42bc036bfba5882af9ab0aa4863b6adf | |
parent 1d247bf3df29866222634305bc66632101c05a36 | |
Author: Christian Kellermann <[email protected]> | |
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(-) | |
--- | |
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)… |