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@xxxxxxxxx> // Martin