finger

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

commit 8a5adac0956cc95b4f2b862219c22a7aec83b4e0
parent 6e5b03e929e5342fdd68cad71611c102dc36f6b0
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 11 Jul 2021 18:17:21 +0100

finger.c: remove freeaddrinfo() on hints

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

diff --git a/finger.c b/finger.c @@ -77,7 +77,6 @@ finger(char *user, char *host, char *port, int w) { if (connect(sock, ai->ai_addr, ai->ai_addrlen) == -1) die(1, "%s%s\n", verbose ? "connect(): " : "", strerror(errno)); - freeaddrinfo(&hints); freeaddrinfo(ai); if (strcmp(port, "79") == 0)