# HG changeset patch # User aidan # Date 1313082494 -3600 # Node ID 64b5c8f5be17f66dfc1db26ef098ac8e89f536a8 # Parent 2e5913d44299934b35006d061370a8ba17e16cf6 more logging to dtnquery diff -r 2e5913d44299 -r 64b5c8f5be17 apps/dtnquery/dtnquery.c --- a/apps/dtnquery/dtnquery.c Thu Aug 11 18:07:11 2011 +0100 +++ b/apps/dtnquery/dtnquery.c Thu Aug 11 18:08:14 2011 +0100 @@ -907,7 +907,10 @@ } if(!has_bpq_block) { - fprintf(stderr, "no bpq block found in bundle\n"); + fprintf(stderr, "no bpq block found in bundle:\n"); + for (i = 0; i < num_blocks; ++i) + fprintf(stderr, "\tblock[%d] : type = %d\n", i, bpq_blocks[i].type); + continue; }