Add some index.bin file to send raw gopher maps mirrored from some other site. - geomyidae - A small C-based gopherd.
(HTM) git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit 50fd214b77643c6291a45132706cab4bfba6db7e
(DIR) parent b2c30971d4c39079644f859f29882d0b196a9137
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 29 Aug 2017 14:54:50 +0200
Add some index.bin file to send raw gopher maps mirrored from some other
site.
Diffstat:
M main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/main.c b/main.c
@@ -46,7 +46,7 @@ char *logfile = nil;
char *argv0;
char *stdbase = "/var/gopher";
char *stdport = "70";
-char *indexf[] = {"/index.gph", "/index.cgi", "/index.dcgi"};
+char *indexf[] = {"/index.gph", "/index.cgi", "/index.dcgi", "index.bin"};
char *err = "3Sorry, but the requested token '%s' could not be found.\tErr"
"\tlocalhost\t70\r\n.\r\n\r\n";
char *htredir = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"