trace: correct variable name in write() error message
[gitweb.git] / imap-send.c
index 125b2183a708a806e7f8aee049b187af3601e7cc..db0fafee995874824f91cb8378399fcf720d705c 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;
 }
@@ -1500,8 +1501,6 @@ int cmd_main(int argc, const char **argv)
        int total;
        int nongit_ok;
 
-       git_setup_gettext();
-
        setup_git_directory_gently(&nongit_ok);
        git_imap_config();