1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-12-04 14:46:37 -05:00

Merge pull request #76 from augfab/cosmetics

Cosmetics
This commit is contained in:
fosslinux 2020-04-23 22:02:14 +00:00 committed by GitHub
commit e2dc5d9337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 12 deletions

5
.gitignore vendored
View File

@ -5,10 +5,11 @@ src/*.o
src/files.h
src/filetypes.h
src/functions.h
src/bin2c
src/gophernicus
README
README.options
bin2c
gophernicus
#
# Test leftovers

View File

@ -9,7 +9,7 @@ git:
os:
- linux
- osx
compiler:
- clang
- gcc

View File

@ -69,7 +69,7 @@ Additional type characters supported by Gophernicus:
Examples of valid resource lines:
1subdir
1subdir
1Relative internal link subdir
1Absolute internal link /subdir
1External link / gopher.floodgap.com 70
@ -106,4 +106,3 @@ Execute script and parse output as subgophermap:
Here we stop processing the gophermap and include the regular menu:
*

2
debian/rules vendored
View File

@ -58,7 +58,7 @@ binary-arch: build install
dh_installdocs
# dh_install
# dh_installmenu
dh_installdebconf
dh_installdebconf
dh_installlogrotate
dh_installlogcheck
# dh_installemacsen

View File

@ -1,5 +1,5 @@
/*
* Gophernicus
* Gophernicus
*
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
@ -397,7 +397,7 @@ void gopher_file(state *st)
if (strcmp(c, st->map_file) == MATCH)
die(st, ERR_ACCESS, "Refusing to serve out a gophermap file");
if (strcmp(c, st->tag_file) == MATCH)
if (strcmp(c, st->tag_file) == MATCH)
die(st, ERR_ACCESS, "Refusing to serve out a gophertag file");
/* Check for & run CGI and query scripts */

View File

@ -1,5 +1,5 @@
/*
* Gophernicus
* Gophernicus
*
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
@ -214,7 +214,7 @@ size_t strlcat(char *dst, const char *src, size_t siz);
#define DEFAULT_TAG "gophertag"
#define DEFAULT_CGI "/cgi-bin/"
#define DEFAULT_USERDIR "public_gopher"
#define DEFAULT_WIDTH 67
#define DEFAULT_WIDTH 67
#define DEFAULT_CHARSET UTF_8
#define MIN_WIDTH 33
#define MAX_WIDTH 200

View File

@ -1,5 +1,5 @@
/*
* Gophernicus
* Gophernicus
*
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>

View File

@ -1,5 +1,5 @@
/*
* Gophernicus
* Gophernicus
*
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>