added bpq block complete check to the BPQBlockProcessor
authoraidan
Fri, 12 Aug 2011 13:00:05 +0100
changeset 34 8f9f167096ee
parent 33 bf64ebbc6e75
child 35 2bc8cc69d2a5
added bpq block complete check to the BPQBlockProcessor
servlib/bundling/BPQBlockProcessor.cc
--- a/servlib/bundling/BPQBlockProcessor.cc	Fri Aug 12 11:42:58 2011 +0100
+++ b/servlib/bundling/BPQBlockProcessor.cc	Fri Aug 12 13:00:05 2011 +0100
@@ -151,6 +151,10 @@
         return BP_FAIL;
     }
 
+    if ( !bpq_info->complete() ) {
+        log_err_p(LOG, "BPQ block is not complete");
+        return BP_FAIL;        
+    }
 
     BPQBlock* bpq_block = new BPQBlock(bpq_info);