Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZwOY-0005uw-1C for qemu-devel@nongnu.org; Fri, 06 Apr 2007 17:54:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZwOW-0005ug-L1 for qemu-devel@nongnu.org; Fri, 06 Apr 2007 17:54:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZwOW-0005ud-F5 for qemu-devel@nongnu.org; Fri, 06 Apr 2007 17:54:56 -0400 Received: from smtp.gentoo.org ([140.211.166.183]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HZwKz-0002Xb-C5 for qemu-devel@nongnu.org; Fri, 06 Apr 2007 17:51:17 -0400 From: Mike Frysinger Subject: Re: [Qemu-devel] [patch] use socklen_t with getsockopt() Date: Fri, 6 Apr 2007 17:51:27 -0400 References: <343495.72027.qm@web25708.mail.ukl.yahoo.com> <20070405104220.GA27936@mail.shareable.org> In-Reply-To: <20070405104220.GA27936@mail.shareable.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2283885.a9a8UfoBet"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704061751.28458.vapier@gentoo.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Sylvain Petreolle --nextPart2283885.a9a8UfoBet Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 wh= ich=20 describes the length of val =2Dmike --nextPart2283885.a9a8UfoBet Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) iQIVAwUARhbA4EFjO5/oN/WBAQKCYg/8DeeS/+1dhJSErHdAyHBAhsLqZSdlO8Pz NYRSpR8lMH8sBXrl7dY3NtcRQbtWJV5YUNP2JWi9pNKjPgWm4HYReN5aP+Sv9Dob NNKkbZh2j3Ah55O3d8QosNBgEKfVRzGG1Z7eUQ0CQflSl3hZhOpDTcRB8aHtiZhA Y7Z7RFvg2nWSh+IaElEXBAwaFCT5LYFx1h2AS+Bwn1CZGVTbXZL3ddgtaIRS+b3B gHu9uSFOf1D3eQLJ+7ksHHvu2xo6Cuwx7isqKHAK+8FLNNSdU7SvgWQj3FqkzV81 8/kigB6HwwOoRQ9ahBIhTe2G+x2Zl38saTrzegLS+08LR02+2lNXElK2Cyi8AouE Mi9ZLEJqokHkrD35HmG8ozhYFuMdLhq8TaEZU80pYXjPs3nzO/zAIbrl3MCHpG7X QQZPnXOs2C3vVfvRlNEpCRrfOf3ZRKviOB3emeBAIp8i13B9Okasa3x/kYt2Mth3 CtZ5HHOsqvYacYoMO/4PBpH9o/iu7bpy8wdynmmm7pVhjmR2c3qPb5foAAHHv4p4 AkhokcOw3dmAOIt969aW8lf7VUf+pBZkqzBjLWJkwjYpyW3KCDQPlix6lNvsRjaw mbBdwE2LeNjWwHMivfiewZ12G0t4oZqsZrfNNCkzlzPnO4RX5q5jMf7MgUXfidpA X8xTC97e/+w= =Cslb -----END PGP SIGNATURE----- --nextPart2283885.a9a8UfoBet--