servlib/bundling/BPQBlock.cc
changeset 39 6c24826aaf8e
parent 37 6023dbd1cef5
child 40 c592e9b12a86
--- a/servlib/bundling/BPQBlock.cc	Mon Aug 15 14:06:57 2011 +0100
+++ b/servlib/bundling/BPQBlock.cc	Mon Aug 15 14:54:38 2011 +0100
@@ -182,6 +182,7 @@
         log_debug_p(LOG, "BPQBlock::initialise: b->source() == NULL");
         block = b;
     }
+
 /////////////////////////////////////////////////////
     ASSERT ( block != NULL );
     
@@ -228,6 +229,10 @@
         log_debug_p(LOG, "BPQBlock::initialise: matching rule = %u", matching_rule_);
     }
 
+    if ( b->source() != NULL ) {
+        log_debug_p(LOG, "BPQBlock::initialise: b->source() != NULL and OK :)");
+    } 
+
     // Decode the SDNV-encoded query length. Note that we need to know the length of the
     // of the encoded value and provide some pointers to the encoded value along with
     // where we want the decoded value (in this case, query_len_).