more logging to dtnquery
authoraidan
Thu, 11 Aug 2011 18:08:14 +0100
changeset 32 64b5c8f5be17
parent 31 2e5913d44299
child 33 bf64ebbc6e75
more logging to dtnquery
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;
         }