From 68555ce241f6e8412f804c098b71428068898cad Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Mon, 9 Dec 2013 18:21:32 +1030 Subject: [PATCH] Add some Rhizome manifest DEBUG that was missing Revealed by -Wunused-parameter --- rhizome_bundle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rhizome_bundle.c b/rhizome_bundle.c index 64341e0c..6b4a672e 100644 --- a/rhizome_bundle.c +++ b/rhizome_bundle.c @@ -316,11 +316,15 @@ void _rhizome_manifest_set_crypt(struct __sourceloc __whence, rhizome_manifest * void _rhizome_manifest_set_rowid(struct __sourceloc __whence, rhizome_manifest *m, uint64_t rowid) { + if (config.debug.rhizome_manifest) + DEBUGF("SET manifest[%d].rowid = %"PRIu64, m->manifest_record_number, rowid); m->rowid = rowid; } void _rhizome_manifest_set_inserttime(struct __sourceloc __whence, rhizome_manifest *m, time_ms_t time) { + if (config.debug.rhizome_manifest) + DEBUGF("SET manifest[%d].inserttime = %"PRItime_ms_t, m->manifest_record_number, time); m->inserttime = time; }