finger

a simple finger client
Log | Files | Refs

commit cba6579eec0d0b19997551582e041e77142265e8
parent fdaa405883278c038c582ccb616a74e819bb4b72
Author: Naveen Narayanan <zerous@nocebo.space>
Date:   Sat, 25 Sep 2021 16:49:40 +0200

Use "finger" instead of specifying port num

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

diff --git a/finger.c b/finger.c @@ -65,7 +65,7 @@ main(int argc, char **argv) hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; - if ((status = getaddrinfo(hostname, "79", &hints, &res)) != 0) { + if ((status = getaddrinfo(hostname, "finger", &hints, &res)) != 0) { fprintf(stderr, "getaddrinfo failed: %s\n", gai_strerror(status)); err = 1; goto err1;