From 97152380566c503653497c138b1a0832824e2c72 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 1 Jun 2010 21:32:11 +0200 Subject: [PATCH] pulse: Style fix: use g_strdup() instead of printf()ing a simple string --- ext/pulse/pulseutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pulse/pulseutil.c b/ext/pulse/pulseutil.c index 73d32980c9..f28ba3cc3a 100644 --- a/ext/pulse/pulseutil.c +++ b/ext/pulse/pulseutil.c @@ -121,9 +121,9 @@ gst_pulse_client_name (void) const char *c; if ((c = g_get_application_name ())) - return g_strdup_printf ("%s", c); + return g_strdup (c); else if (pa_get_binary_name (buf, sizeof (buf))) - return g_strdup_printf ("%s", buf); + return g_strdup (buf); else return g_strdup ("GStreamer"); }