X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=http-walker.c;h=a3fb596542eea6d85a6cb32add100e8d71e7713a;hb=b52e985a4f824128d01220473b04057a4876060d;hp=444aebf5268c982255f73b151ff5c03bdffecdbe;hpb=bd6ba4d28bf75b0857b3c81aa8bca8e454d9e79e;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;