Changeset 636


Ignore:
Timestamp:
Mar 16, 2006, 7:52:40 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Do not write the trailing \0 when exporting data.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/export.c

    r626 r636  
    100100
    101101    buffer = cucul_export(qq, format);
    102     fwrite(buffer->buffer, buffer->size, 1, stdout);
     102    fwrite(buffer->buffer, buffer->size - 1, 1, stdout);
    103103    cucul_free(buffer);
    104104
Note: See TracChangeset for help on using the changeset viewer.