Code

Improve the mingw getaddrinfo stub to handle more use cases
authorMartin Storsjö <martin@martin.st>
Thu, 4 Nov 2010 01:35:18 +0000 (02:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Nov 2010 23:53:51 +0000 (16:53 -0700)
commitcbefd2d6322bff0033fd50bfe175c52b79933571
treee801724dab3d950590ca36ca70871d21ea4b55ea
parent48cfaea10879790ba6d2c8b566a0df75c411672d
Improve the mingw getaddrinfo stub to handle more use cases

Allow the node parameter to be null, which is used for getting
the default bind address.

Also allow the hints parameter to be null, to improve standard
conformance of the stub implementation a little.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c