Code

Use int instead of socklen_t
authorJunio C Hamano <junkio@cox.net>
Sun, 11 Sep 2005 20:58:41 +0000 (13:58 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 12 Sep 2005 01:55:20 +0000 (18:55 -0700)
commit7fa090844f7d1624c7d1ffc621aae6aec84a1110
tree57ce47237b9abead3f82f6b6b7edc89cbeba301e
parent65a9289d7e5207ed66199db94593b31fa5550fde
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>
daemon.c