qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [patch] use socklen_t with getsockopt()


From: Mike Frysinger
Subject: Re: [Qemu-devel] [patch] use socklen_t with getsockopt()
Date: Fri, 6 Apr 2007 17:51:27 -0400
User-agent: KMail/1.9.6

On Thursday 05 April 2007, Jamie Lokier wrote:
> Sylvain Petreolle wrote:
> > Was incorrect before too, since it was sizeof(int) in the first place ?
>
> The old type of "val" was "int", so it made no different to the size.
> When "val" is of type socklen_t, it matters.

val is still of type int which is fine ... socklen_t is for the variable which 
describes the length of val
-mike

Attachment: pgp0JvSjQVyop.pgp
Description: PGP signature


reply via email to

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