projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Call getnameinfo() without the flag that suppresses name lookups
[citadel.git]
/
webcit
/
locate_host.c
diff --git
a/webcit/locate_host.c
b/webcit/locate_host.c
index b18f1031bc9ddc4b63b3f190d11dcfdd177616ed..ae99fc3dc85562cb2f6744ff77230bf5916da5e9 100644
(file)
--- 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);