]> code.delx.au - pulseaudio/commitdiff
augment-properties: Fix debug messages and statement bracketing.
authorColin Guthrie <cguthrie@mandriva.org>
Wed, 6 Oct 2010 08:16:16 +0000 (09:16 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Wed, 6 Oct 2010 08:17:01 +0000 (09:17 +0100)
src/modules/module-augment-properties.c

index f80c9ce7f7da187ee448fca1ab867c64173b81b2..30df69d8173ee4534dbf75a057652acfd509082a 100644 (file)
@@ -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;