Revision 0c461e28 src/Chunkiser/output-stream.c

View differences:

src/Chunkiser/output-stream.c
19 19
  return out->open(config);
20 20
}
21 21

  
22
void chunk_write(struct output_stream *o, int id, const uint8_t *data, int size)
22
void chunk_write(struct output_stream *o, const struct chunk *c)
23 23
{
24
  out->write(o, id, data, size);
24
  out->write(o, c->id, c->data, c->size);
25 25
}

Also available in: Unified diff