projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab9dcd
)
* Call getnameinfo() without the flag that suppresses name lookups
author
Art Cancro
<ajc@citadel.org>
Sun, 14 Mar 2010 02:56:55 +0000
(
02:56
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sun, 14 Mar 2010 02:56:55 +0000
(
02:56
+0000)
webcit/locate_host.c
patch
|
blob
|
history
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);