X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=http.c;h=c6fb8ace9f9f43935f4128fc223b01e6cb9fa605;hb=d1637a07f684acd80007723f94c4da9649d85525;hp=576740feff9ffa62b65f8cdf0a38f2354872c520;hpb=3fbe2d54d7d91378934df7b16d70dc5877586fae;p=git.git diff --git a/http.c b/http.c index 576740fef..c6fb8ace9 100644 --- a/http.c +++ b/http.c @@ -137,7 +137,7 @@ static int http_options(const char *var, const char *value) return 0; } -#ifdef USE_CURL_MULTI +#ifdef USE_CURL_MULTI if (!strcmp("http.maxrequests", var)) { if (max_requests == -1) max_requests = git_config_int(var, value); @@ -300,6 +300,7 @@ void http_cleanup(void) curl_global_cleanup(); curl_slist_free_all(pragma_header); + pragma_header = NULL; } struct active_request_slot *get_active_slot(void)