Commit 97152380 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

pulse: Style fix: use g_strdup() instead of printf()ing a simple string

parent 81c4dc45
......@@ -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");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment