author | Martin Storsjö <martin@martin.st> | |
Thu, 4 Nov 2010 01:35:18 +0000 (02:35 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 4 Nov 2010 23:53:51 +0000 (16:53 -0700) | ||
commit | cbefd2d6322bff0033fd50bfe175c52b79933571 | |
tree | e801724dab3d950590ca36ca70871d21ea4b55ea | tree | snapshot |
parent | 48cfaea10879790ba6d2c8b566a0df75c411672d | commit | diff |
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>
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 | diff | blob | history |