From: Martin Storsjö Date: Tue, 16 Mar 2010 07:52:58 GMT Subject: Re: [PATCH v2] daemon.c: avoid accessing ss_family member of struct sockaddr_storage Message-ID: In-Reply-To: On Mon, 15 Mar 2010, Brandon Casey wrote: > 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