Revision c159f66f

View differences:

streaming.c
71 71
void send_chunk(const struct nodeID **neighbours, int n)
72 72
{
73 73
  struct chunk *buff;
74
  int target, c, size;
74
  int target, c, size, res;
75 75

  
76 76
  dprintf("Send Chunk: %d neighbours\n", n);
77 77
  if (n == 0) return;
......
86 86
  dprintf("\t sending chunk[%d] (%d) to ", buff[c].id, c);
87 87
  dprintf("%s\n", node_addr(neighbours[target]));
88 88

  
89
  sendChunk(neighbours[target], buff + c);
89
  res = sendChunk(neighbours[target], buff + c);
90
  dprintf("Result: %d\n", res);
90 91
}

Also available in: Unified diff