[tracker/extractor-remove-word-counting-review] Setup config also for standalone mode



commit 526a9b7b9c670bf08b30a519c234275f8849476b
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue May 11 11:29:48 2010 +0200

    Setup config also for standalone mode

 src/tracker-extract/tracker-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index 3957862..394cd7f 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -402,6 +402,8 @@ main (int argc, char *argv[])
 
 	setlocale (LC_ALL, "");
 
+	config = tracker_config_new ();
+
 	/* Set conditions when we use stand alone settings */
 	if (filename) {
 		return run_standalone ();
@@ -410,8 +412,6 @@ main (int argc, char *argv[])
 	/* Initialize subsystems */
 	initialize_directories ();
 
-	config = tracker_config_new ();
-
 	/* Extractor command line arguments */
 	if (verbosity > -1) {
 		tracker_config_set_verbosity (config, verbosity);



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