mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
Rename functions with "tostring" in the name to one with "to_string" to conform with the convention.
component: core <EP-E358F00C1D9A449EAE69225B9D2530F8> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=88833 Signed-off-by: Deepak Srivastava <srivastava.d@samsung.com>
This commit is contained in:
parent
bb88d90950
commit
2d5eec2d2c
24 changed files with 46 additions and 46 deletions
|
|
@ -395,7 +395,7 @@ int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d
|
|||
}
|
||||
|
||||
pa_xfree(conf->script_commands);
|
||||
conf->script_commands = pa_strbuf_tostring_free(buf);
|
||||
conf->script_commands = pa_strbuf_to_string_free(buf);
|
||||
|
||||
*d = optind;
|
||||
|
||||
|
|
|
|||
|
|
@ -804,5 +804,5 @@ char *pa_daemon_conf_dump(pa_daemon_conf *c) {
|
|||
|
||||
pa_xfree(log_target);
|
||||
|
||||
return pa_strbuf_tostring_free(s);
|
||||
return pa_strbuf_to_string_free(s);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1082,7 +1082,7 @@ int main(int argc, char *argv[]) {
|
|||
if (r >= 0)
|
||||
r = pa_cli_command_execute(c, conf->script_commands, buf, &conf->fail);
|
||||
|
||||
pa_log_error("%s", s = pa_strbuf_tostring_free(buf));
|
||||
pa_log_error("%s", s = pa_strbuf_to_string_free(buf));
|
||||
pa_xfree(s);
|
||||
|
||||
if (r < 0 && conf->fail) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue