gods

a simple blocklist for ssh
Log | Files | Refs | README | LICENSE

commit 6758d841639ae7abd7c273cc6a6ceefbfdc3efc0
parent 2b2a60bd562c173f972f78761f4200750bb0401e
Author: Naveen Narayanan <zerous@nocebo.space>
Date:   Sat, 18 Sep 2021 16:48:09 +0200

Fix bug in main.c

Report an error when parse returns 0.

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -31,7 +31,7 @@ main(int argc, char **argv) printf("line: %s\n", buf); - if (parse(buf)) + if (!parse(buf)) fprintf(stderr, "parse failed\n"); if (c == EOF) break;