[tracker/tracker-0.8] tracker-miner-fs: small indentation fix



commit faf89a1e0479db6661e6dbe8055167b50c710255
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Jun 10 17:43:00 2010 +0200

    tracker-miner-fs: small indentation fix

 src/miners/fs/tracker-miner-files.c |   76 +++++++++++++++++-----------------
 1 files changed, 38 insertions(+), 38 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 4c8ffc8..12ddb7d 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -856,47 +856,47 @@ mount_point_added_cb (TrackerStorage *storage,
 	} else if (!removable &&
 	           !optical &&
 	           miner->private->first_index_run) {
-			GSList *it;
-
-			/* Check if one of the recursively indexed locations is in
-			 *   the mounted path, or if the mounted path is inside
-			 *   a recursively indexed directory... */
-			for (it = tracker_config_get_index_recursive_directories (miner->private->config);
-			     it;
-			     it= g_slist_next (it)) {
-				if (g_str_has_prefix (it->data, mount_point) ||
-				    g_str_has_prefix (mount_point, it->data)) {
-					gchar *uri;
-
-					file = g_file_new_for_path (it->data);
-					uri = g_file_get_uri (file);
-					g_message ("  Re-check of path '%s' needed", uri);
-					tracker_miner_fs_directory_add (TRACKER_MINER_FS (user_data),
-					                                file,
-					                                TRUE);
-					g_object_unref (file);
-					g_free (uri);
-				}
+		GSList *it;
+
+		/* Check if one of the recursively indexed locations is in
+		 *   the mounted path, or if the mounted path is inside
+		 *   a recursively indexed directory... */
+		for (it = tracker_config_get_index_recursive_directories (miner->private->config);
+		     it;
+		     it= g_slist_next (it)) {
+			if (g_str_has_prefix (it->data, mount_point) ||
+			    g_str_has_prefix (mount_point, it->data)) {
+				gchar *uri;
+
+				file = g_file_new_for_path (it->data);
+				uri = g_file_get_uri (file);
+				g_message ("  Re-check of path '%s' needed", uri);
+				tracker_miner_fs_directory_add (TRACKER_MINER_FS (user_data),
+				                                file,
+				                                TRUE);
+				g_object_unref (file);
+				g_free (uri);
 			}
+		}
 
-			/* Check if one of the non-recursively indexed locations is in
-			 *  the mount path... */
-			for (it = tracker_config_get_index_single_directories (miner->private->config);
-			     it;
-			     it= g_slist_next (it)) {
-				if (g_str_has_prefix (it->data, mount_point)) {
-					gchar *uri;
-
-					file = g_file_new_for_path (it->data);
-					uri = g_file_get_uri (file);
-					g_message ("  Re-check of path '%s' needed", uri);
-					tracker_miner_fs_directory_add (TRACKER_MINER_FS (user_data),
-					                                file,
-					                                FALSE);
-					g_object_unref (file);
-					g_free (uri);
-				}
+		/* Check if one of the non-recursively indexed locations is in
+		 *  the mount path... */
+		for (it = tracker_config_get_index_single_directories (miner->private->config);
+		     it;
+		     it= g_slist_next (it)) {
+			if (g_str_has_prefix (it->data, mount_point)) {
+				gchar *uri;
+
+				file = g_file_new_for_path (it->data);
+				uri = g_file_get_uri (file);
+				g_message ("  Re-check of path '%s' needed", uri);
+				tracker_miner_fs_directory_add (TRACKER_MINER_FS (user_data),
+				                                file,
+				                                FALSE);
+				g_object_unref (file);
+				g_free (uri);
 			}
+		}
 	} else {
 		g_message ("  Adding directory to crawler's queue");
 



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