From 5e442f4e0e6937c72997a9b9b66bf931b141ed0a Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 6 Oct 2010 09:16:16 +0100 Subject: augment-properties: Fix debug messages and statement bracketing. --- src/modules/module-augment-properties.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit