| Fix index.bin support. - geomyidae - A small C-based gopherd. | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit 76960b3ae3a02bc1a267142102465328acdf4981 | |
| parent 6a674806ad1da35acf0410823aeaa4de986b70b2 | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Fri, 29 Sep 2017 13:40:08 +0200 | |
| Fix index.bin support. | |
| Diffstat: | |
| M main.c | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| 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", "index.bin"}; | |
| +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" |