Re: [Qemu-devel] [PATCHv2] spice-core: Use g_strdup_printf instead of snprintf

2013-09-03 Thread Gerd Hoffmann
On Mo, 2013-09-02 at 15:41 +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. Added to spice patch queue. thanks, Gerd

[Qemu-devel] [PATCHv2] spice-core: Use g_strdup_printf instead of snprintf

2013-09-02 Thread Christophe Fergeau
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. Signed-off-by: Christophe Fergeau --- Changes since v1: - split lines >80 chars (checkpatch.pl now succeeds) ui/spice-core.c | 28 ++--