[tracker/binary-log-2: 9/38] libtracker-db: Add more detailed GError for calling _next()
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/binary-log-2: 9/38] libtracker-db: Add more detailed GError for calling _next()
- Date: Tue, 12 Jan 2010 15:57:21 +0000 (UTC)
commit d0f2a0b2ddbb6f161fe620cdaef96fef50c9f4ad
Author: Martyn Russell <martyn lanedo com>
Date: Tue Jan 5 17:25:48 2010 +0000
libtracker-db: Add more detailed GError for calling _next()
src/libtracker-db/tracker-db-journal.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-journal.c b/src/libtracker-db/tracker-db-journal.c
index 1edba27..80eb2c6 100644
--- a/src/libtracker-db/tracker-db-journal.c
+++ b/src/libtracker-db/tracker-db-journal.c
@@ -625,7 +625,8 @@ tracker_db_journal_reader_next (GError **error)
if (reader.end - reader.current < sizeof (guint32)) {
g_set_error (error, TRACKER_DB_JOURNAL_ERROR, 0,
- "Damaged journal entry, < sizeof(guint32) at start/end of journal");
+ "Damaged journal entry, %d < sizeof(guint32) at start/end of journal",
+ (gint) (reader.end - reader.current));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]