[tracker/binary-log] Fixed comment about CRC (squashme)



commit a1a5be623b3265d00d038879c11f8515f102089f
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Dec 30 18:23:35 2009 +0100

    Fixed comment about CRC (squashme)

 src/libtracker-db/tracker-db-journal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-journal.c b/src/libtracker-db/tracker-db-journal.c
index 49f61df..6ede989 100644
--- a/src/libtracker-db/tracker-db-journal.c
+++ b/src/libtracker-db/tracker-db-journal.c
@@ -25,7 +25,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <stdio.h>
-#include <string.h>
+#include <string.h>/query
 #include <sys/stat.h>
 #include <unistd.h>
 
@@ -304,7 +304,7 @@ tracker_db_journal_commit_transaction (void)
 
 	cur_block_len += size;
 
-	/* CRC is calculated with CRC's own bytes set to zeroes */
+	/* CRC is calculated from entries until appended amount int */
 
 	crc = tracker_crc32 (cur_block + offset, cur_block_len - offset);
 	cur_setnum (cur_block, &begin_pos, crc);



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