Code

imap-send: add support for IPv6
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 25 May 2009 19:13:54 +0000 (21:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2009 05:22:47 +0000 (22:22 -0700)
commit94ad2437020038b022ce19b8b8b35f1cc86b16f6
treea80057d09489398f87fcb3afcb2865219867c98e
parent33fd7169ed6658e898b414a66aefaad16b404ec5
imap-send: add support for IPv6

Add IPv6 support by implementing name resolution with the
protocol agnostic getaddrinfo(3) API. The old gethostbyname(3)
code is still available when git is compiled with NO_IPV6.

Signed-off-by: Benjamin Kramer <benny.kra@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c