foo
authoraidan
Mon, 15 Aug 2011 16:08:43 +0100
changeset 41 dff653fd2b4f
parent 40 c592e9b12a86
child 42 6e7559bfcb52
foo
servlib/bundling/BPQBlock.cc
--- a/servlib/bundling/BPQBlock.cc	Mon Aug 15 15:54:40 2011 +0100
+++ b/servlib/bundling/BPQBlock.cc	Mon Aug 15 16:08:43 2011 +0100
@@ -191,8 +191,11 @@
     ASSERT ( block != NULL );
     ASSERT ( block->data() != NULL );
     // BPQ Kind must be 0 or 1
-    ASSERT ( *(block->data()) == 0 ||
-             *(block->data()) == 1 ); 
+    if ( *(block->data()) != 0 &&
+         *(block->data()) != 1 ) {
+        log_err_p(LOG, "BPQBlock::initialise: block->data() = %c(should be 0|1)",
+            *(block->data()));
+    }
 
     log_debug_p(LOG, "BPQBlock::initialise: block != NULL");
     log_debug_p(LOG, "BPQBlock::initialise: block->data() != NULL");