Received: from eggs.gnu.org ([2001:4830:134:3::10]:52315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGUQt-0000YJ-CK for qemu-devel@nongnu.org; Mon, 02 Sep 2013 09:44:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGUQn-0000m6-J9 for qemu-devel@nongnu.org; Mon, 02 Sep 2013 09:44:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGUQn-0000m0-BB for qemu-devel@nongnu.org; Mon, 02 Sep 2013 09:44:37 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r82Diabh027288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 2 Sep 2013 09:44:36 -0400 Date: Mon, 2 Sep 2013 15:44:34 +0200 From: Christophe Fergeau Message-ID: <20130902134434.GM3586@teriyaki.cdg.redhat.com> References: <1378115620-13187-1-git-send-email-cfergeau@redhat.com> <1378121779.14555.3.camel@nilsson.home.kraxel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Zbynv6TNPa9FrOf6" Content-Disposition: inline In-Reply-To: <1378121779.14555.3.camel@nilsson.home.kraxel.org> Subject: Re: [Qemu-devel] [PATCH] spice-core: Use g_strdup_printf instead of snprintf List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org --Zbynv6TNPa9FrOf6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 02, 2013 at 01:36:19PM +0200, Gerd Hoffmann wrote: > On Mo, 2013-09-02 at 11:53 +0200, Christophe Fergeau wrote: > > Several places in spice-core.c were using either g_malloc+snprintf > > or snprintf+g_strdup to achieve the same result as g_strdup_printf. >=20 > Patch looks good but fails checkpatch.pl due to long lines. Ah right, I forgot to run it, I just sent a v2. Christophe --Zbynv6TNPa9FrOf6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iEYEARECAAYFAlIklkIACgkQJKRp+3pW945dCACfaU7tRLTsk4jWzExVwrSlmi5+ r3MAmwauwBLvNnRtLf81iNxS00z/Wrt5 =KYn+ -----END PGP SIGNATURE----- --Zbynv6TNPa9FrOf6--