mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
pulsecore: use r returned from fgets()
This commit is contained in:
parent
204083cb32
commit
4f1380b713
1 changed files with 1 additions and 1 deletions
|
|
@ -2459,7 +2459,7 @@ char *pa_machine_id(void) {
|
|||
|
||||
pa_strip_nl(ln);
|
||||
|
||||
if (ln[0])
|
||||
if (r && ln[0])
|
||||
return pa_xstrdup(ln);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue