Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call finish_transfer() with its new arg. Also put the externs
[rsync/rsync.git]
/
clientname.c
diff --git
a/clientname.c
b/clientname.c
index
4f85dcf
..
53167df
100644
(file)
--- a/
clientname.c
+++ b/
clientname.c
@@
-118,7
+118,9
@@
char *client_name(int fd)
memset(&hint, 0, sizeof hint);
memset(&hint, 0, sizeof hint);
+#ifdef AI_NUMERICHOST
hint.ai_flags = AI_NUMERICHOST;
hint.ai_flags = AI_NUMERICHOST;
+#endif
hint.ai_socktype = SOCK_STREAM;
if ((err = getaddrinfo(addr, NULL, &hint, &answer)) != 0) {
hint.ai_socktype = SOCK_STREAM;
if ((err = getaddrinfo(addr, NULL, &hint, &answer)) != 0) {