mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
pulse: Style fix: use g_strdup() instead of printf()ing a simple string
This commit is contained in:
parent
81c4dc4574
commit
9715238056
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue