diff --git a/http-push.c b/http-push.c
index c7471fa11d962afe79518d3916b542e1a2290604..8e1fdfddf5402add6b6ce787647c522c9a0116ae 100644 (file)
--- a/http-push.c
+++ b/http-push.c
#include "cache.h"
#include "commit.h"
#include "pack.h"
-#include "fetch.h"
#include "tag.h"
#include "blob.h"
#include "http.h"
}
#ifdef USE_CURL_MULTI
-int fill_active_slot(void)
+static int fill_active_slot(void *unused)
{
struct transfer_request *request = request_queue_head;
objects_to_send);
#ifdef USE_CURL_MULTI
fill_active_slots();
+ add_fill_function(NULL, fill_active_slot);
#endif
finish_all_active_slots();