servlib/bundling/BPQBlock.cc
changeset 31 2e5913d44299
parent 30 bdf6aee9aa70
child 33 bf64ebbc6e75
--- a/servlib/bundling/BPQBlock.cc	Thu Aug 11 15:40:00 2011 +0100
+++ b/servlib/bundling/BPQBlock.cc	Thu Aug 11 18:07:11 2011 +0100
@@ -182,12 +182,18 @@
         log_debug_p(LOG, "BPQBlock::initialise: b->source() == NULL");
         block = b;
     }
+
+    ASSERT ( block != NULL );
     
+    log_debug_p(LOG, "BPQBlock::initialise: block != NULL");
+
     int decoding_len=0; 
     u_int i=0, j=0;
     u_int len = block->data_length();
+    log_debug_p(LOG, "BPQBlock::initialise: len = %u", len);
     u_int num_frags;
     u_char* buf = block->data();
+    log_debug_p(LOG, "BPQBlock::initialise: buf = %s", buf);
 
     // BPQ-kind             1-byte
     if ( i < len ) {