mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
augment-properties: Fix debug messages and statement bracketing.
This commit is contained in:
parent
b6be95ef53
commit
5e442f4e0e
1 changed files with 3 additions and 2 deletions
|
|
@ -207,14 +207,15 @@ static void update_rule(struct rule *r) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (r->good)
|
||||
if (r->good) {
|
||||
if (st.st_mtime == r->mtime) {
|
||||
/* Theoretically the filename could have changed, but if so
|
||||
having the same mtime is very unlikely so not worth tracking it in r */
|
||||
pa_xfree(fn);
|
||||
return;
|
||||
}
|
||||
else
|
||||
pa_log_debug("Found %s (which has been updated since we last checked).", fn);
|
||||
} else
|
||||
pa_log_debug("Found %s.", fn);
|
||||
|
||||
r->good = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue