summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2010-06-15 17:38:59 +0200
committerArnel A. Borja <arnelborja@src.gnome.org>2013-08-31 00:56:44 +0800
commit10cefbfb276b8a50572f3775d3840444a6269f75 (patch)
tree06a5d1ba2693aef95153a869a1bc50af700f263f
parentde79b57916123fd6948714dc79ad7ecb7e008e58 (diff)
downloadlibmediaart-10cefbfb276b8a50572f3775d3840444a6269f75.tar.gz
Fixes GB#621015: Index removable media when miner-fs starts and configured to do so
-rw-r--r--src/libtracker-miner/tracker-storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtracker-miner/tracker-storage.c b/src/libtracker-miner/tracker-storage.c
index 9fde62e..df7f7e8 100644
--- a/src/libtracker-miner/tracker-storage.c
+++ b/src/libtracker-miner/tracker-storage.c
@@ -751,7 +751,7 @@ get_mount_point_by_uuid_foreach (gpointer key,
/* is mount of the type we're looking for? */
if ((gr->exact_match && mount_type == gr->type) ||
- (!gr->exact_match && ((mount_type & gr->type) == gr->type))) {
+ (!gr->exact_match && (mount_type & gr->type))) {
gchar *normalized_mount_point;
gint len;
@@ -842,7 +842,7 @@ tracker_storage_get_device_uuids (TrackerStorage *storage,
/* is mount of the type we're looking for? */
if ((exact_match && mount_type == type) ||
- (!exact_match && ((mount_type & type) == type))) {
+ (!exact_match && (mount_type & type))) {
uuids = g_slist_prepend (uuids, g_strdup (uuid));
}
}