[tracker/binary-log] Bugfix (feel free to squash this one)



commit d2913dd3055d1d3bd230ab39b1ebb5733d2aa0ab
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Dec 30 11:31:25 2009 +0100

    Bugfix (feel free to squash this one)

 src/libtracker-db/tracker-db-journal.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-journal.c b/src/libtracker-db/tracker-db-journal.c
index e498e8e..ba03c45 100644
--- a/src/libtracker-db/tracker-db-journal.c
+++ b/src/libtracker-db/tracker-db-journal.c
@@ -140,6 +140,8 @@ tracker_db_journal_open (const gchar *filen)
 
 		write (fileno (journal), cur_block, 8);
 
+		current_size += 8;
+
 		kill_cur_block ();
 	}
 }



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