summaryrefslogtreecommitdiffstats
path: root/src
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:17:01 +0100
commit5e442f4e0e6937c72997a9b9b66bf931b141ed0a (patch)
treef028eda7fad6ef0f4437dbd43bef8cbfc4336b95 /src
parentb6be95ef53c8c8a8b7cfedff2b2026899331dfed (diff)
augment-properties: Fix debug messages and statement bracketing.
Diffstat (limited to 'src')
-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;