X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.c;h=b76c72fdab6dbe445b1466de76c4f3dd58e33b92;hp=8810a28b8dacc83731c40a57f014b2190a3b81ab;hb=5ac6b5f44f64ff9a2f0e01a65013da829edfab9e;hpb=ca059ef393a5ea00c3318314b3de5229f9fd7ea0 diff --git a/afh.c b/afh.c index 8810a28b..b76c72fd 100644 --- a/afh.c +++ b/afh.c @@ -124,7 +124,7 @@ static int cat_file(struct afh_info *afhi, int audio_format_id, &header, &size); if (size > 0) { PARA_INFO_LOG("writing header (%zu bytes)\n", size); - ret = write(STDOUT_FILENO, header, size); /* FIXME */ + ret = write_all(STDOUT_FILENO, header, size); afh_free_header(header, audio_format_id); if (ret < 0) return ret;