[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] use socklen_t with getsockopt()
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [patch] use socklen_t with getsockopt() |
Date: |
Tue, 10 Apr 2007 11:59:22 +0100 |
User-agent: |
Mutt/1.4.1i |
Mike Frysinger wrote:
> 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
Yes, thanks for pointing it out.
-- Jamie