[tracker] libtracker-data: Fixed compilation warning
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Fixed compilation warning
- Date: Thu, 25 Nov 2010 11:46:43 +0000 (UTC)
commit 726e6fc882296ab671909b4e785c2f48ab301031
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Nov 25 12:46:27 2010 +0100
libtracker-data: Fixed compilation warning
src/libtracker-data/tracker-db-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-manager.c b/src/libtracker-data/tracker-db-manager.c
index 6d3b900..caf4a34 100644
--- a/src/libtracker-data/tracker-db-manager.c
+++ b/src/libtracker-data/tracker-db-manager.c
@@ -215,11 +215,11 @@ db_set_params (TrackerDBInterface *iface,
pragmas_file = g_getenv ("TRACKER_PRAGMAS_FILE");
if (pragmas_file && g_file_get_contents (pragmas_file, &queries, NULL, NULL)) {
- g_debug ("PRAGMA's from file: %s", pragmas_file);
gchar *query = strtok (queries, "\n");
+ g_debug ("PRAGMA's from file: %s", pragmas_file);
while (query) {
g_debug (" INIT query: %s", query);
- tracker_db_interface_execute_query (iface, NULL, query);
+ tracker_db_interface_execute_query (iface, NULL, "%s", query);
query = strtok (NULL, "\n");
}
g_free (queries);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]