X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.c;h=8810a28b8dacc83731c40a57f014b2190a3b81ab;hp=f2745b61b47e67310ce89dd78d9b95944021a7a4;hb=748d1368bc96dd7e1af879df1ea41b4d52842f7e;hpb=1cefe6a503c74d609db4e99e689d46575a5e40fd diff --git a/afh.c b/afh.c index f2745b61..8810a28b 100644 --- a/afh.c +++ b/afh.c @@ -152,7 +152,7 @@ static int cat_file(struct afh_info *afhi, int audio_format_id, if (!size) continue; PARA_INFO_LOG("writing chunk %lu\n", i); - ret = write_all(STDOUT_FILENO, buf, &size); + ret = write_all(STDOUT_FILENO, buf, size); if (ret < 0) return ret; }