Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/daemon-no-ipv6-for-2.4.1'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 11 May 2015 21:23:53 +0000
(14:23 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 May 2015 21:23:53 +0000
(14:23 -0700)
"git daemon" fails to build from the source under NO_IPV6
configuration (regression in 2.4).
* jc/daemon-no-ipv6-for-2.4.1:
daemon: unbreak NO_IPV6 build regression
daemon.c
patch
|
blob
|
history
raw
(from parent 1:
a0c0c2e
)
diff --git
a/daemon.c
b/daemon.c
index ac2bc852d1dfa20783de63c3dceec83a79e4df6a..d3d3e433e370e7a21dad829b5861172e92a6d72f 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-633,7
+633,7
@@
static void lookup_hostname(struct hostinfo *hi)
char **ap;
static char addrbuf[HOST_NAME_MAX + 1];
- hent = gethostbyname(hostname.buf);
+ hent = gethostbyname(h
i->h
ostname.buf);
if (hent) {
ap = hent->h_addr_list;
memset(&sa, 0, sizeof sa);