diff options
author | Brad King <brad.king@kitware.com> | 2024-02-02 15:40:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-02-02 15:41:04 (GMT) |
commit | 1bbec7927d8770312edc1564b592b0056d845b44 (patch) | |
tree | d627b7d911ca1038b7867511eb21021ad4843079 /Utilities/cmcurl/lib/dict.c | |
parent | b8ee9db223562a317e76b8ea6f9224efc8da179e (diff) | |
parent | 01a93250270f759d1825b2294df21129f3a71dd7 (diff) | |
download | CMake-1bbec7927d8770312edc1564b592b0056d845b44.zip CMake-1bbec7927d8770312edc1564b592b0056d845b44.tar.gz CMake-1bbec7927d8770312edc1564b592b0056d845b44.tar.bz2 |
Merge topic 'update-curl'
01a9325027 Tests: Match curl 8.6.0 error in RunCMake.ctest_submit FailDrop-https case
e28ea90c1b Merge branch 'upstream-curl' into update-curl
851cc904a0 curl 2024-01-31 (5ce164e0)
692463d271 curl: Update script to get curl 8.6.0
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9207
Diffstat (limited to 'Utilities/cmcurl/lib/dict.c')
-rw-r--r-- | Utilities/cmcurl/lib/dict.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/dict.c b/Utilities/cmcurl/lib/dict.c index 3172b38..3239848 100644 --- a/Utilities/cmcurl/lib/dict.c +++ b/Utilities/cmcurl/lib/dict.c @@ -89,7 +89,7 @@ const struct Curl_handler Curl_handler_dict = { ZERO_NULL, /* domore_getsock */ ZERO_NULL, /* perform_getsock */ ZERO_NULL, /* disconnect */ - ZERO_NULL, /* readwrite */ + ZERO_NULL, /* write_resp */ ZERO_NULL, /* connection_check */ ZERO_NULL, /* attach connection */ PORT_DICT, /* defport */ @@ -123,6 +123,9 @@ static char *unescape_word(const char *input) /* sendf() sends formatted data to the server */ static CURLcode sendf(curl_socket_t sockfd, struct Curl_easy *data, + const char *fmt, ...) CURL_PRINTF(3, 4); + +static CURLcode sendf(curl_socket_t sockfd, struct Curl_easy *data, const char *fmt, ...) { ssize_t bytes_written; |