Revision 729826c9 src/ChunkTrading/chunk_delivery.c

View differences:

src/ChunkTrading/chunk_delivery.c
51 51
  uint8_t *buff;
52 52
  int res;
53 53

  
54
  buff_len  = 20 + sizeof(transid) + c->size + c->attributes_size;
54
  buff_len  = CHUNK_HEADER_SIZE + sizeof(transid) + c->size + c->attributes_size;
55 55
  buff = malloc(buff_len + 1);
56 56
  if (buff == NULL) {
57 57
      return -1;

Also available in: Unified diff