Messages in this thread | | | Date | Sat, 26 Apr 2008 22:54:32 -0700 (PDT) | Subject | Re: [PATCH,TRIVIAL] AF_UNIX, accept() and addrlen | From | David Miller <> |
| |
From: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Sat, 26 Apr 2008 02:44:45 +0100
> AF_UNIX: make unix_getname use sizeof(sunaddr->sun_family) instead of > sizeof(short). > > Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This is just syntactic masterbation, sa_family_t is typedef'd "unsigned short".
No system on planet earth providing the BSD sockets API uses anything other than uint16_t or unsigned short for this.
Sorry, I'm not applying this.
| |