mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
A lot of more work to get the lock-free stuff in place
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1474 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
69115687ad
commit
be4a882836
33 changed files with 908 additions and 694 deletions
|
|
@ -71,14 +71,11 @@ static const char level_to_char[] = {
|
|||
};
|
||||
|
||||
void pa_log_set_ident(const char *p) {
|
||||
if (log_ident)
|
||||
pa_xfree(log_ident);
|
||||
if (log_ident_local)
|
||||
pa_xfree(log_ident_local);
|
||||
pa_xfree(log_ident);
|
||||
pa_xfree(log_ident_local);
|
||||
|
||||
log_ident = pa_xstrdup(p);
|
||||
log_ident_local = pa_utf8_to_locale(log_ident);
|
||||
if (!log_ident_local)
|
||||
if (!(log_ident_local = pa_utf8_to_locale(log_ident)))
|
||||
log_ident_local = pa_xstrdup(log_ident);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue