[tracker/journal-rotating] Bugfix, squash with previous
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/journal-rotating] Bugfix, squash with previous
- Date: Fri, 7 May 2010 13:52:32 +0000 (UTC)
commit 38aeb22df77547ab7698f01af61d75a6c15f81fd
Author: Philip Van Hoof <philip codeminded be>
Date: Fri May 7 15:51:17 2010 +0200
Bugfix, squash with previous
src/libtracker-db/tracker-db-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index 85c8936..7bcdfdb 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1137,7 +1137,7 @@ tracker_db_manager_restore_from_temp (void)
gchar *fullpath, *ptr;
if (f_name) {
- if (!g_str_has_prefix (f_name, TRACKER_DB_JOURNAL_FILENAME ".tmp")) {
+ if (!g_str_has_suffix (f_name, ".tmp")) {
f_name = g_dir_read_name (journal_dir);
continue;
}
@@ -1194,7 +1194,7 @@ tracker_db_manager_remove_temp (void)
while (f_name) {
if (f_name) {
- if (!g_str_has_prefix (f_name, TRACKER_DB_JOURNAL_FILENAME ".tmp")) {
+ if (!g_str_has_suffix (f_name, ".tmp")) {
f_name = g_dir_read_name (journal_dir);
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]