[tracker/binary-log-2: 34/56] 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: 34/56] Add more detailed GError for calling _next()
- Date: Fri, 8 Jan 2010 10:35:25 +0000 (UTC)
commit 04e2a083b3689e10a4b4a909f4c9a3a754612d42
Author: Martyn Russell <martyn lanedo com>
Date: Tue Jan 5 17:25:48 2010 +0000
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 92b47e9..8552f93 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]