Fixed git:// IPv4 address problem when compiled with -DNO_IPV6.
commitc61642185d411e5e3350566a68483e358ca392b9
authorPaul Serice <paul@serice.net>
Tue, 22 Nov 2005 13:54:23 +0000 (22 07:54 -0600)
committerJunio C Hamano <junkio@cox.net>
Tue, 22 Nov 2005 20:38:27 +0000 (22 12:38 -0800)
treec183291c9f13912f9111ee0ab2e24ac47f3147ed
parentd1ab157759f0738a13bfb04bca8c436814913d4b
Fixed git:// IPv4 address problem when compiled with -DNO_IPV6.

Failure to dereference a pointer caused incorrect initialization of
the IPv4 address when calling connect() when compiled with -DNO_IPV6.

With this patch and yesterday's patch for git-daemon, it should now be
possible to use the native git protocol for both the client and server
on Cygwin.

Signed-off-by: Paul Serice <paul@serice.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
connect.c