Revision 449e156e

View differences:

streaming.c
162 162
      dprintf("\t sending chunk[%d] to ", c->id);
163 163
      dprintf("%s\n", node_addr(p->id));
164 164

  
165
      send_bmap(p);
165 166
      res = sendChunk(p->id, c);
166 167
      dprintf("\tResult: %d\n", res);
167 168
      if (res>=0) {
168 169
        chunkID_set_add_chunk(p->bmap,c->id); //don't send twice ... assuming that it will actually arrive
169 170
      }
170
      send_bmap(p);
171 171
    }
172 172
  }
173 173
}

Also available in: Unified diff