X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aft.c;h=3b2f9172e56785292323e76c85a9f44e574186f5;hp=266188b5b370a3e7e3e8aaa092ca093aca7c6c04;hb=c387b216b5fd3c944053e1bba024815719e9a0d9;hpb=92e4a0579a320372d2e94efc7c2a0d9f419e3ffe diff --git a/aft.c b/aft.c index 266188b5..3b2f9172 100644 --- a/aft.c +++ b/aft.c @@ -8,7 +8,6 @@ #include #include /* readdir() */ -#include #include #include #include @@ -1136,6 +1135,8 @@ int open_and_update_audio_file(struct osl_row *aft_row, long score, err: free(afd->afhi.chunk_table); osl_close_disk_object(&chunk_table_obj); + if (ret < 0) + PARA_ERROR_LOG("%s: %s\n", path, para_strerror(-ret)); return ret; }