commit | 6735aa99a43c70c09b53af190b24600a61178b95 | [log] [tgz] |
---|---|---|
author | Christophe Fergeau <cfergeau@redhat.com> | Mon Sep 02 15:41:32 2013 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Sep 10 11:14:08 2013 +0200 |
tree | dafd27b2e9cc2bc6801c6f219fe9e8f50ae1cb30 | |
parent | 94c2b6aff43cdfcfdfb552773a6b6b973a72ef0b [diff] |
spice-core: Use g_strdup_printf instead of snprintf 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 <cfergeau@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>