servlib/bundling/BPQBlockProcessor.cc
changeset 64 1296a0283271
parent 55 1938118cd06c
child 69 cfd4a4e36ea2
--- a/servlib/bundling/BPQBlockProcessor.cc	Tue Oct 18 11:52:07 2011 +0100
+++ b/servlib/bundling/BPQBlockProcessor.cc	Mon Oct 24 18:28:33 2011 +0100
@@ -1,5 +1,5 @@
 /*
- *    Copyright 2006 Intel Corporation
+ *    Copyright 2010-2011 Trinity College Dublin
  * 
  *    Licensed under the Apache License, Version 2.0 (the "License");
  *    you may not use this file except in compliance with the License.
@@ -61,7 +61,7 @@
         return cc;
     }
 
-    BPQBlock* bpq_block = new BPQBlock(block);
+    BPQBlock* bpq_block = new BPQBlock(bundle);
     log_info_p(LOG, "     BPQBlock:");
     log_info_p(LOG, "         kind: %d", bpq_block->kind());
     log_info_p(LOG, "matching rule: %d", bpq_block->matching_rule());
@@ -167,7 +167,7 @@
         return BP_FAIL;
     }
 
-    BPQBlock* bpq_block = new BPQBlock(bpq_info);
+    BPQBlock* bpq_block = new BPQBlock(bundle);
 
     //int length = bpq_block->length();
     int length = bpq_info->data_length();