summaryrefslogtreecommitdiff
path: root/pack-revindex.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-12-14 20:52:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-12-14 21:06:00 (GMT)
commit58d29ececf8fc287d9b244c617edd174ded66b01 (patch)
tree41d3891641df42119f09207480c3e277ee63b9fa /pack-revindex.c
parent00bce77fe5b30720f4031f048abf42517b0da0ba (diff)
downloadgit-58d29ececf8fc287d9b244c617edd174ded66b01.zip
git-58d29ececf8fc287d9b244c617edd174ded66b01.tar.gz
git-58d29ececf8fc287d9b244c617edd174ded66b01.tar.bz2
ident: fix undefined variable when NO_IPV6 is set
Commit 00bce77 (ident.c: add support for IPv6, 2015-11-27) moved the "gethostbyname" call out of "add_domainname" and into the helper function "canonical_name". But when moving the code, it forgot that the "buf" variable is passed as "host" in the helper. Reported-by: johan defries <johandefries@gmail.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-revindex.c')
0 files changed, 0 insertions, 0 deletions