From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZVgi-000243-32 for qemu-devel@nongnu.org; Thu, 05 Apr 2007 13:23:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZVgg-00023i-9g for qemu-devel@nongnu.org; Thu, 05 Apr 2007 13:23:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZVgg-00023f-7R for qemu-devel@nongnu.org; Thu, 05 Apr 2007 13:23:54 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HZVdH-0008Nm-Fv for qemu-devel@nongnu.org; Thu, 05 Apr 2007 13:20:23 -0400 Received: from mail.shareable.org ([81.29.64.88]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HZPQj-0006b6-It for qemu-devel@nongnu.org; Thu, 05 Apr 2007 06:43:03 -0400 Date: Thu, 5 Apr 2007 11:42:21 +0100 From: Jamie Lokier Subject: Re: Re : [Qemu-devel] [patch] use socklen_t with getsockopt() Message-ID: <20070405104220.GA27936@mail.shareable.org> References: <343495.72027.qm@web25708.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <343495.72027.qm@web25708.mail.ukl.yahoo.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sylvain Petreolle , qemu-devel@nongnu.org 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. -- Jamie