summaryrefslogtreecommitdiff
path: root/gettext.h
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2011-08-01 13:16:10 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-01 10:49:45 -0700
commit7203a2d1ca18b32feda71a48c21e80fb03f2e909 (patch)
tree46c6a0668d9bd1ec5b8787d25c968b1a8b2a4427 /gettext.h
parent9353e09afa21b24fa356f960300e1c0a1567aa72 (diff)
downloadgit-7203a2d1ca18b32feda71a48c21e80fb03f2e909.tar.gz
connect: only log if all attempts failed (ipv4)
In 63a995b (Do not log unless all connect() attempts fail), a mechanism to only log connection errors if all attempts failed was introduced for the IPv6 code-path, but not for the IPv4 one. Introduce a matching mechanism so IPv4-users also benefit from this noise-reduction. Move the call to socket after filling in sa, to make it more apparent that errno can't change in between. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gettext.h')
0 files changed, 0 insertions, 0 deletions