diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2011-08-01 13:16:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-01 10:47:36 -0700 |
commit | e08afecd7fe04b519b72f136c4a24b151c748f49 (patch) | |
tree | 2c160be6d05b4d6e43d846ba501778394806c384 /builtin/reset.c | |
parent | Break down no-lstat() condition checks in verify_uptodate() (diff) | |
download | tgif-e08afecd7fe04b519b72f136c4a24b151c748f49.tar.xz |
connect: correctly number ipv6 network adapter
In ba50532, the variable 'cnt' was added to both the IPv6 and the
IPv4 version of git_tcp_connect_sock, intended to identify which
network adapter the connection failed on. But in the IPv6 version,
the variable was never increased, leaving it constantly at zero.
This behaviour isn't very useful, so let's fix it by increasing
the variable at every loop-iteration.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reset.c')
0 files changed, 0 insertions, 0 deletions