[Freeciv-Dev] Re: 3 suspicous code parts
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 2000/08/06 15:09 , Gaute (B) Strokkenes wrote:
>
>uint32_t on my machine. unsigned long is inappropriate because this
>is an IPv4 address and thus 32 bits. (long is 64 bits on e.g. alpha.)
>
>The -1 should be changed to INADDR_NONE. Better yet, use inet_aton()
>instead since 255.255.255.255 is in fact a valid address.
Right. I'll change my patch before I commit it.
jjm
|
|