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 | a0c0c2e5c29f54c69fa6735aca6ed3079f5f4190 (diff) | |
parent | d358f771e3a0e78ea8ebed7edf48a12a7620c813 (diff) | |
download | git-9e4d2f6d45ef46e5774bbf752786ca3b9a4142a5.tar.gz |
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); |