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