[tracker/libtracker-miner] Fixed running/paused logic



commit 8227b86a3d86a12409c661d5641d243eed666a0f
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Aug 28 13:03:24 2009 +0100

    Fixed running/paused logic

 src/tracker-utils/tracker-status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-utils/tracker-status.c b/src/tracker-utils/tracker-status.c
index fdd9828..fd708e5 100644
--- a/src/tracker-utils/tracker-status.c
+++ b/src/tracker-utils/tracker-status.c
@@ -618,7 +618,7 @@ main (gint argc, gchar *argv[])
 				continue;
 			}
 
-			is_paused = pause_applications || pause_reasons;
+			is_paused = *pause_applications || *pause_reasons;
 
 			g_print ("  [%s] %s: %3.0f%%, %s, %s: '%s'\n", 
 				 is_paused ? "P" : "R",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]