pulsecore: use r returned from fgets()

This commit is contained in:
Marc-André Lureau 2009-02-18 18:21:25 +02:00 committed by Lennart Poettering
parent 204083cb32
commit 4f1380b713

View file

@ -2459,7 +2459,7 @@ char *pa_machine_id(void) {
pa_strip_nl(ln); pa_strip_nl(ln);
if (ln[0]) if (r && ln[0])
return pa_xstrdup(ln); return pa_xstrdup(ln);
} }