Re: [PATCH v2] daemon.c: avoid accessing ss_family member of struct sockaddr_storage
On Mon, 15 Mar 2010, Brandon Casey wrote:
Show 7 quoted lines
> On 03/15/2010 04:37 PM, Martin Storsjö wrote:
> > Coming to think about it, would it simplify the code even more if the
> > function were to take a const struct sockaddr* as a parameter instead?
> > That would, on the other hand, require more casts where it's called,
> > though...
>
> How about this.
Yes, this looks neat!
Acked-by: Martin Storsjö <martin@martin.st>
// Martin