Revision 0c461e28 src/Tests/chunkiser_test.c

View differences:

src/Tests/chunkiser_test.c
47 47
    res = chunkise(input, &c);
48 48
    if (res > 0) {
49 49
      fprintf(stderr,"chunk %d: %d %llu\n", id++, c.size, c.timestamp);
50
      chunk_write(output, c.id, c.data, c.size);
50
      chunk_write(output, &c);
51 51
    } else if (res < 0) {
52 52
      done = 1;
53 53
    }

Also available in: Unified diff