X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=convert.c;h=94ff8376492257782a1af5b3d2851ee8724c2edd;hb=af1ec93755ac0b2bd71d6cf48096164b683bc881;hp=5d0307fc1004f215c48a6f653e21da41bee71baa;hpb=d8d62e61353c7e34006cc5714f07f507256612df;p=thirdparty%2Fgit.git diff --git a/convert.c b/convert.c index 5d0307fc10..94ff837649 100644 --- a/convert.c +++ b/convert.c @@ -731,7 +731,7 @@ static int apply_single_file_filter(const char *path, const char *src, size_t le if (start_async(&async)) return 0; /* error was already reported */ - if (strbuf_read(&nbuf, async.out, len) < 0) { + if (strbuf_read(&nbuf, async.out, 0) < 0) { err = error(_("read from external filter '%s' failed"), cmd); } if (close(async.out)) {