| fix loglvl mask and align using spaces consistently - geomyidae - A small C-bas… | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit 1f14ac4922999fa3ad7b11229a431de4e39f5720 | |
| parent 4f4128c66e521eb364bd294f4ba82074b0587ff1 | |
| Author: Hiltjo Posthuma <[email protected]> | |
| Date: Fri, 10 Jan 2020 21:07:27 +0100 | |
| fix loglvl mask and align using spaces consistently | |
| Signed-off-by: Christoph Lohmann <[email protected]> | |
| Diffstat: | |
| M geomyidae.8 | 6 +++--- | |
| M 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; |