Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_wavwrite.c

    r65a4fb4 rb03f1bf  
    212212
    213213  // fwrite(*, *, 1, s->fid) was called 13 times, check success
    214   if (written != 13 || fflush(s->fid)) {
    215     AUBIO_STRERR("sink_wavwrite: writing header to %s failed"
    216         " (wrote %d/%d, %s)\n", s->path, written, 13, errorstr);
    217     fclose(s->fid);
    218     s->fid = NULL;
     214  if (written != 13) {
     215    AUBIO_STRERR("sink_wavwrite: writing header to %s failed, expected %d"
     216        " write but got only %d (%s)\n", s->path, 13, written, errorstr);
    219217    return AUBIO_FAIL;
    220218  }
Note: See TracChangeset for help on using the changeset viewer.