diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-08-25 00:32:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-25 00:32:36 +0200 |
commit | e48a623dea0c9170e4daa5e27e5bbc3f1ce84354 (patch) | |
tree | 308c5ecce933b4cc41885f20d530ce9cda5de3e5 /imap-send.c | |
parent | Merge branch 'ds/add-with-sparse-index' (diff) | |
parent | http: rename CURLOPT_FILE to CURLOPT_WRITEDATA (diff) | |
download | git-e48a623dea0c9170e4daa5e27e5bbc3f1ce84354.tar.xz git-e48a623dea0c9170e4daa5e27e5bbc3f1ce84354.zip |
Merge branch 'ab/http-drop-old-curl'
Support for ancient versions of cURL library (pre 7.19.4) has been
dropped.
* ab/http-drop-old-curl:
http: rename CURLOPT_FILE to CURLOPT_WRITEDATA
http: drop support for curl < 7.19.3 and < 7.17.0 (again)
http: drop support for curl < 7.19.4
http: drop support for curl < 7.16.0
http: drop support for curl < 7.11.1
Diffstat (limited to 'imap-send.c')
-rw-r--r-- | imap-send.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/imap-send.c b/imap-send.c index a0540ba5cf..49a5f8aa59 100644 --- a/imap-send.c +++ b/imap-send.c @@ -1517,11 +1517,7 @@ static int curl_append_msgs_to_imap(struct imap_server_conf *server, if (cred.username) { if (res == CURLE_OK) credential_approve(&cred); -#if LIBCURL_VERSION_NUM >= 0x070d01 else if (res == CURLE_LOGIN_DENIED) -#else - else -#endif credential_reject(&cred); } |