geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 1f14ac4922999fa3ad7b11229a431de4e39f5720
parent 4f4128c66e521eb364bd294f4ba82074b0587ff1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 10 Jan 2020 21:07:27 +0100

fix loglvl mask and align using spaces consistently

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
geomyidae.8 | 6+++---
main.c | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/geomyidae.8 b/geomyidae.8 @@ -111,7 +111,7 @@ Don't perform reverse lookups. Specify file where log output is written (no default) . .It Fl v Ar loglevel -Set the logging level (default: 37) +Set the logging level (default: 47) . .Bd -literal Loglevels: @@ -121,9 +121,9 @@ Loglevels: 4 - HTTP redirects 8 - errors (e.g., not found) 16 - client connections - 32 - gopher+ redirects + 32 - gopher+ redirects e.g.: - 1 + 2 + 4 + 8 + 32 = 37 + 1 + 2 + 4 + 8 + 32 = 47 (files + directories + HTTP + errors + gopher+) .Ed . diff --git a/main.c b/main.c @@ -41,7 +41,7 @@ enum { }; int glfd = -1; -int loglvl = 37; +int loglvl = 47; int *listfds = NULL; int nlistfds = 0; int revlookup = 1;