fix loglvl mask and align using spaces consistently - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 1f14ac4922999fa3ad7b11229a431de4e39f5720 DIR parent 4f4128c66e521eb364bd294f4ba82074b0587ff1 HTML 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: M geomyidae.8 | 6 +++--- M main.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) --- DIR 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 . DIR 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;