X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-walker.c;h=a3fb596542eea6d85a6cb32add100e8d71e7713a;hb=8256c6e0107a51b2714f2e068b693025e4ddcae8;hp=444aebf5268c982255f73b151ff5c03bdffecdbe;hpb=5153399c9b0c0e38d00877c4a78248eefeba7ad3;p=git.git diff --git a/http-walker.c b/http-walker.c index 444aebf52..a3fb59654 100644 --- a/http-walker.c +++ b/http-walker.c @@ -405,7 +405,7 @@ static int fetch_index(struct walker *walker, struct alt_base *repo, unsigned ch indexfile = fopen(tmpfile, "a"); if (!indexfile) return error("Unable to open local file %s for pack index", - filename); + tmpfile); slot = get_active_slot(); slot->results = &results; @@ -770,7 +770,7 @@ static int fetch_pack(struct walker *walker, struct alt_base *repo, unsigned cha packfile = fopen(tmpfile, "a"); if (!packfile) return error("Unable to open local file %s for pack", - filename); + tmpfile); slot = get_active_slot(); slot->results = &results;