servlib/bundling/BundleProtocol.cc
changeset 47 f1d80668861b
parent 46 5832202f8a44
child 49 767b4a1b4a9e
equal deleted inserted replaced
46:5832202f8a44 47:f1d80668861b
   166         BlockProcessor* bp = find_processor(i);
   166         BlockProcessor* bp = find_processor(i);
   167         if (bp == UnknownBlockProcessor::instance()) {
   167         if (bp == UnknownBlockProcessor::instance()) {
   168             continue;
   168             continue;
   169         }
   169         }
   170 
   170 
   171         if (! xmit_blocks->has_block(i) &&
   171         if (! xmit_blocks->has_block(i)) {
   172             i != BundleProtocol::QUERY_EXTENSION_BLOCK) {
   172 
   173             if (i == BundleProtocol::QUERY_EXTENSION_BLOCK)
   173             if (i == BundleProtocol::QUERY_EXTENSION_BLOCK)
   174                 log_debug_p(LOG, "adding extra BPQ block!!!");
   174                 log_debug_p(LOG, "adding extra BPQ block!!!");
   175             bp->prepare(bundle, xmit_blocks, NULL, link, BlockInfo::LIST_NONE);
   175             else
       
   176                 bp->prepare(bundle, xmit_blocks, NULL, link, BlockInfo::LIST_NONE);
   176         }
   177         }
   177     }
   178     }
   178 
   179 
   179     // include any metadata locally generated by the API or DP
   180     // include any metadata locally generated by the API or DP
   180     BlockProcessor* metadata_processor = find_processor(METADATA_BLOCK);
   181     BlockProcessor* metadata_processor = find_processor(METADATA_BLOCK);