Changes in / [135bc14:08246ee]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_vorbis.c

    r135bc14 r08246ee  
    120120  s->fid = fopen((const char *)s->path, "wb");
    121121  if (!s->fid) {
    122     char errorstr[256];
    123     AUBIO_STRERROR(errno, errorstr, sizeof(errorstr));
    124     AUBIO_ERR("sink_vorbis: Error opening file \'%s\' (%s)\n",
     122    AUBIO_STRERR("sink_vorbis: Error opening file \'%s\' (%s)\n",
    125123        s->path, errorstr);
    126124    return AUBIO_FAIL;
     
    214212  result &= (wrote == (unsigned)s->og.body_len);
    215213  if (result == 0) {
    216     char errorstr[256];
    217     AUBIO_STRERROR(errno, errorstr, sizeof(errorstr));
    218     AUBIO_ERR("sink_vorbis: failed writing \'%s\' to disk (%s)\n",
     214    AUBIO_STRERR("sink_vorbis: failed writing \'%s\' to disk (%s)\n",
    219215        s->path, errorstr);
    220216    return AUBIO_FAIL;
     
    308304
    309305  if (s->fid && fclose(s->fid)) {
    310     char errorstr[256];
    311     AUBIO_STRERROR(errno, errorstr, sizeof(errorstr));
    312     AUBIO_ERR("sink_vorbis: Error closing file \'%s\' (%s)\n",
     306    AUBIO_STRERR("sink_vorbis: Error closing file \'%s\' (%s)\n",
    313307        s->path, errorstr);
    314308    return AUBIO_FAIL;
Note: See TracChangeset for help on using the changeset viewer.