servlib/bundling/BPQBlock.cc
changeset 68 17b33ba237f2
parent 66 e1101c5d54a1
child 75 d647d52028bc
--- a/servlib/bundling/BPQBlock.cc	Tue Jan 10 12:57:26 2012 +0000
+++ b/servlib/bundling/BPQBlock.cc	Tue Jan 10 13:49:58 2012 +0000
@@ -40,7 +40,7 @@
         log_debug("BPQBlock found in Recv Block Vec => created remotely");
         initialise( const_cast<BlockInfo*> (bundle->recv_blocks().
                     find_block(BundleProtocol::QUERY_EXTENSION_BLOCK)),
-        			true, bundle);
+        			false, bundle);
 
     } else if( const_cast<Bundle*>(bundle)->api_blocks()->
                has_block(BundleProtocol::QUERY_EXTENSION_BLOCK) ) {
@@ -321,7 +321,7 @@
 BPQBlock::extract_matching_rule (const u_char* buf, u_int* buf_index, u_int buf_length)
 {
 	if ( *buf_index < buf_length ) {
-	    matching_rule_ = (kind_t) buf[(*buf_index)++];
+	    matching_rule_ = (u_int) buf[(*buf_index)++];
 	    log_debug("BPQBlock::extract_matching_rule: matching rule = %d", matching_rule_);
 	    return BP_SUCCESS;