On Sun 13 Feb 2011 19:34, Ken Raeburn <raeb...@raeburn.org> writes: >> The code I was fixing is creating a sockaddr_in, so in order to >> use the sa_len field I would have had to cast a sockaddr_in to a >> sockaddr, and it just seemed cleaner to use the sin_len field. It's no >> big deal either way, though - this would affect probably 10 or fewer >> lines of code no matter what. > > Yes, that's fine; just ditch the test for sockaddr (no _in) having a sin_len > field.
Yes, I think this is the thing to do. Can you rework your patch, Noah? Thanks, Andy -- http://wingolog.org/