hfingerd

hhvn.uk:79
Log | Files | Refs | LICENSE

commit 95a32df692a85f94cec60957b18fb02187094e8f
parent 814dbe4b69f744550e494fb5b91a48b7d3dcc2f8
Author: hhvn <dev@hhvn.uk>
Date:   Sat,  3 Jul 2021 14:17:31 +0100

handler.c: missing return

Diffstat:
Mhandler.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/handler.c b/handler.c @@ -59,6 +59,7 @@ get_plan(int fd, char *user) { serrno = errno; if (serrno == 0) { derror(fd, "no such user: %s\n", user); + return; } else { derror(fd, "%s\n", strerror(serrno)); error("getpwnam(): %s\n", strerror(serrno));