imap-send.c: introduce the GIT_TRACE_CURL enviroment variable
[gitweb.git] / imap-send.c
index 2c52027c84455819740bed9f53970e175b9ca133..8ad80674daf5636e5578df8590227eb63252497e 100644 (file)
@@ -1443,6 +1443,7 @@ static CURL *setup_curl(struct imap_server_conf *srvc)
 
        if (0 < verbosity || getenv("GIT_CURL_VERBOSE"))
                curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
+       setup_curl_trace(curl);
 
        return curl;
 }