1
0
mirror of https://github.com/git/git.git synced 2025-04-14 19:45:33 +00:00

Merge branch 'master' into next

* master:
  Fix broken slot reuse when fetching alternates
This commit is contained in:
Junio C Hamano 2006-03-15 09:12:18 -08:00
commit d7da67148b

@ -468,9 +468,13 @@ static void process_alternates_response(void *callback_data)
alt_req->url);
active_requests++;
slot->in_use = 1;
if (slot->finished != NULL)
(*slot->finished) = 0;
if (!start_active_slot(slot)) {
got_alternates = -1;
slot->in_use = 0;
if (slot->finished != NULL)
(*slot->finished) = 1;
}
return;
}