summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2010-10-06 09:16:16 +0100
committerColin Guthrie <cguthrie@mandriva.org>2010-10-06 09:16:16 +0100
commita378c02ebbbaac1177474630d0b9ab083189056e (patch)
tree5dbc3fbb5c0dde0fe6400933cb7aabc36464306b
parent9109a188cd3d2e4d0d400f68a00aaefd02719e6c (diff)
augment-properties: Fix debug messages and statement bracketing.
-rw-r--r--src/modules/module-augment-properties.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/module-augment-properties.c b/src/modules/module-augment-properties.c
index f80c9ce7..30df69d8 100644
--- a/src/modules/module-augment-properties.c
+++ b/src/modules/module-augment-properties.c
@@ -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;