1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-09 06:20:43 +00:00

Remove trailing whitespace

This commit is contained in:
Augustin Fabre 2020-04-23 21:18:04 +02:00
parent 35657bd549
commit 326c15c474
No known key found for this signature in database
GPG Key ID: 99A01AA293FDA435
7 changed files with 9 additions and 10 deletions

View File

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

View File

@ -69,7 +69,7 @@ Additional type characters supported by Gophernicus:
Examples of valid resource lines: Examples of valid resource lines:
1subdir 1subdir
1Relative internal link subdir 1Relative internal link subdir
1Absolute internal link /subdir 1Absolute internal link /subdir
1External link / gopher.floodgap.com 70 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: 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_installdocs
# dh_install # dh_install
# dh_installmenu # dh_installmenu
dh_installdebconf dh_installdebconf
dh_installlogrotate dh_installlogrotate
dh_installlogcheck dh_installlogcheck
# dh_installemacsen # dh_installemacsen

View File

@ -1,5 +1,5 @@
/* /*
* Gophernicus * Gophernicus
* *
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com> * Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org> * Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
@ -397,7 +397,7 @@ void gopher_file(state *st)
if (strcmp(c, st->map_file) == MATCH) if (strcmp(c, st->map_file) == MATCH)
die(st, ERR_ACCESS, "Refusing to serve out a gophermap file"); 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"); die(st, ERR_ACCESS, "Refusing to serve out a gophertag file");
/* Check for & run CGI and query scripts */ /* 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) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org> * 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_TAG "gophertag"
#define DEFAULT_CGI "/cgi-bin/" #define DEFAULT_CGI "/cgi-bin/"
#define DEFAULT_USERDIR "public_gopher" #define DEFAULT_USERDIR "public_gopher"
#define DEFAULT_WIDTH 67 #define DEFAULT_WIDTH 67
#define DEFAULT_CHARSET UTF_8 #define DEFAULT_CHARSET UTF_8
#define MIN_WIDTH 33 #define MIN_WIDTH 33
#define MAX_WIDTH 200 #define MAX_WIDTH 200

View File

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