X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.c;h=c6fb8ace9f9f43935f4128fc223b01e6cb9fa605;hb=9d87442f03c9e3fea7e24e2821fc0342f8efe1d6;hp=576740feff9ffa62b65f8cdf0a38f2354872c520;hpb=27ebd6e0443bdd795869f598ecebc9eadd64a26c;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)