From c91e3e77cad3c8448c5c67a89b668edb93805210 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 14 Mar 2010 02:56:55 +0000 Subject: [PATCH] * Call getnameinfo() without the flag that suppresses name lookups --- webcit/locate_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/locate_host.c b/webcit/locate_host.c index b18f1031b..ae99fc3dc 100644 --- a/webcit/locate_host.c +++ b/webcit/locate_host.c @@ -36,7 +36,7 @@ void locate_host(StrBuf *tbuf, int client_socket) getnameinfo((struct sockaddr *)&clientaddr, addrlen, clienthost, sizeof(clienthost), clientservice, sizeof(clientservice), - NI_NUMERICHOST + 0 ); StrBufAppendBufPlain(tbuf, clienthost, -1, 0); -- 2.39.2