Merge branch 'rs/daemon-fixes'
commitdc11fc2de8d92b9e7935ad070941e86f4e33000b
authorJunio C Hamano <gitster@pobox.com>
Tue, 14 Oct 2014 17:49:22 +0000 (14 10:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Oct 2014 17:49:23 +0000 (14 10:49 -0700)
tree9c12f75d617fb6de47aa3638e96a4746c0a1f4bf
parente2ebb5c433c12ee296ea9b289c8b9cabb576cbeb
parent107efbeb2409ac3fb01560a42067c8cc506aa249
Merge branch 'rs/daemon-fixes'

"git daemon" (with NO_IPV6 build configuration) used to incorrectly
use the hostname even when gethostbyname() reported that the given
hostname is not found.

* rs/daemon-fixes:
  daemon: remove write-only variable maxfd
  daemon: fix error message after bind()
  daemon: handle gethostbyname() error
daemon.c