Revision 77767b80 src/ChunkTrading/chunk_delivery.c

View differences:

src/ChunkTrading/chunk_delivery.c
59 59
  buff[0] = MSG_TYPE_CHUNK;
60 60
  int16_cpy(buff + 1, transid);
61 61
  res = encodeChunk(c, buff + 1 + sizeof(transid), buff_len);
62
  send_to_peer(localID, to, buff, buff_len + 1 + sizeof(transid));
62
  send_to_peer(localID, to, buff, buff_len + 1);
63 63
  free(buff);
64 64

  
65 65
  return EXIT_SUCCESS;

Also available in: Unified diff