guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in Guile's Posix Networking


From: Andy Wingo
Subject: Re: Bug in Guile's Posix Networking
Date: Sun, 13 Feb 2011 21:07:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Sun 13 Feb 2011 19:34, Ken Raeburn <address@hidden> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]