diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2011-08-01 13:16:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-01 10:49:45 -0700 |
commit | 7203a2d1ca18b32feda71a48c21e80fb03f2e909 (patch) | |
tree | 46c6a0668d9bd1ec5b8787d25c968b1a8b2a4427 /git-gui | |
parent | Merge branch 'maint' into ef/ipv4-connect-error-report (diff) | |
download | tgif-7203a2d1ca18b32feda71a48c21e80fb03f2e909.tar.xz |
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 'git-gui')
0 files changed, 0 insertions, 0 deletions