servlib/bundling/BundleDaemon.cc
changeset 10 84c85b6450de
parent 7 0a3c1a78bf75
child 11 4dd7e0cb11a7
equal deleted inserted replaced
9:b72ba16e5586 10:84c85b6450de
  2635     /**
  2635     /**
  2636      * At this point the BPQ Block has been found in the bundle
  2636      * At this point the BPQ Block has been found in the bundle
  2637      */
  2637      */
  2638     if (bpq_block.kind() == BPQBlock::KIND_QUERY) {
  2638     if (bpq_block.kind() == BPQBlock::KIND_QUERY) {
  2639         if (answer_bpq_query(bundle, &bpq_block)) {
  2639         if (answer_bpq_query(bundle, &bpq_block)) {
  2640 //HACK...
       
  2641             BundleProtocol::delete_blocks(bundle, event->link_); 
       
  2642             event->daemon_only_ = true;
  2640             event->daemon_only_ = true;
  2643         }
  2641         }
  2644 
  2642 
  2645     } else if (bpq_block.kind() == BPQBlock::KIND_RESPONSE) {
  2643     } else if (bpq_block.kind() == BPQBlock::KIND_RESPONSE) {
  2646         accept_bpq_response(bundle, &bpq_block);
  2644         accept_bpq_response(bundle, &bpq_block);