finger

finger fortune@hhvn.uk
Log | Files | Refs | LICENSE

commit 572d7b5eee88d246ade8c462e9870598e96e1997
parent 707c4806e765d20d7d3bafd37a56482935d86c32
Author: hhvn <dev@hhvn.uk>
Date:   Sun,  6 Jun 2021 16:21:39 +0100

finger.c: add newline after each finger()

Diffstat:
Mfinger.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/finger.c b/finger.c @@ -82,7 +82,8 @@ finger(char *user, char *host, char *port, int w) { dprintf(sock, "%s\r\n", user); while (read_line(sock, buf, sizeof(buf)) != 0) printf("%s\n", buf); - return; + + printf("\n"); /* add extra newline */ } int