diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-11 14:23:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-11 14:23:53 -0700 |
commit | 9e4d2f6d45ef46e5774bbf752786ca3b9a4142a5 (patch) | |
tree | da420b5c0f146d8420c5e1ddf4e77e023fbba50f | |
parent | Merge branch 'jn/clean-use-error-not-fprintf-on-stderr' (diff) | |
parent | daemon: unbreak NO_IPV6 build regression (diff) | |
download | tgif-9e4d2f6d45ef46e5774bbf752786ca3b9a4142a5.tar.xz |
Merge branch 'jc/daemon-no-ipv6-for-2.4.1'
"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
-rw-r--r-- | daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(hi->hostname.buf); if (hent) { ap = hent->h_addr_list; memset(&sa, 0, sizeof sa); |