Code

Do not use h_errno after connect(2): the function does not set it
authorAlex Riesen <raa.lkml@gmail.com>
Tue, 12 Jun 2007 20:52:10 +0000 (22:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Jun 2007 16:11:58 +0000 (09:11 -0700)
commit7cbf2f24ee8430fbf48a2c6f106f22adf9df62e1
treec03badff95c43da77fb12f395fbb2c98f5d15633
parent3e48af387522bfff8ae410cfda28c3eefd1cebad
Do not use h_errno after connect(2): the function does not set it

Randal L. Schwartz noticed compilation problems on SunOS, which made
me look at the code again. The thing is, h_errno is not used by
connect(2), it is only for functions from netdb.h, like gethostbyname.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c