author | Junio C Hamano <junkio@cox.net> | |
Sun, 11 Sep 2005 20:58:41 +0000 (13:58 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 12 Sep 2005 01:55:20 +0000 (18:55 -0700) | ||
commit | 7fa090844f7d1624c7d1ffc621aae6aec84a1110 | |
tree | 57ce47237b9abead3f82f6b6b7edc89cbeba301e | tree | snapshot |
parent | 65a9289d7e5207ed66199db94593b31fa5550fde | commit | diff |
Use int instead of socklen_t
This should work around the compilation problem Johannes Schindelin
and others had on Mac OS/X.
Quoting Linus:
Any operating system where socklen_t is anything else than "int" is
terminally broken. The people who introduced that typedef were confused,
and I actually had to argue with them that it was fundamentally wrong:
there is no other valid type than "int" that makes sense for it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This should work around the compilation problem Johannes Schindelin
and others had on Mac OS/X.
Quoting Linus:
Any operating system where socklen_t is anything else than "int" is
terminally broken. The people who introduced that typedef were confused,
and I actually had to argue with them that it was fundamentally wrong:
there is no other valid type than "int" that makes sense for it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c | diff | blob | history |