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