summaryrefslogtreecommitdiffstats
path: root/lib/easy.c
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@lists.haxx.se>2022-05-11 06:11:15 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-16 15:43:24 (GMT)
commit9d8f81f4f8ac4a234ced9c446958fdfcaed4faa3 (patch)
tree24a75f8e8a5f38c6d227189b3a76f4d35edb3dc0 /lib/easy.c
parent2a9bc9ebf09fbafa5378d143083434204e9f233e (diff)
downloadCMake-9d8f81f4f8ac4a234ced9c446958fdfcaed4faa3.zip
CMake-9d8f81f4f8ac4a234ced9c446958fdfcaed4faa3.tar.gz
CMake-9d8f81f4f8ac4a234ced9c446958fdfcaed4faa3.tar.bz2
curl 2022-05-11 (462196e6)
Code extracted from: https://github.com/curl/curl.git at commit 462196e6b4a47f924293a0e26b8e9c23d37ac26f (curl-7_83_1).
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 65d7464..bd9d695 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -1139,7 +1139,7 @@ CURLcode curl_easy_recv(struct Curl_easy *data, void *buffer, size_t buflen,
if(!data->conn)
/* on first invoke, the transfer has been detached from the connection and
needs to be reattached */
- Curl_attach_connnection(data, c);
+ Curl_attach_connection(data, c);
*n = 0;
result = Curl_read(data, sfd, buffer, buflen, &n1);
@@ -1175,7 +1175,7 @@ CURLcode curl_easy_send(struct Curl_easy *data, const void *buffer,
if(!data->conn)
/* on first invoke, the transfer has been detached from the connection and
needs to be reattached */
- Curl_attach_connnection(data, c);
+ Curl_attach_connection(data, c);
*n = 0;
sigpipe_ignore(data, &pipe_st);
@@ -1209,12 +1209,12 @@ static int conn_upkeep(struct Curl_easy *data,
if(conn->handler->connection_check) {
/* briefly attach the connection to this transfer for the purpose of
checking it */
- Curl_attach_connnection(data, conn);
+ Curl_attach_connection(data, conn);
/* Do a protocol-specific keepalive check on the connection. */
conn->handler->connection_check(data, conn, CONNCHECK_KEEPALIVE);
/* detach the connection again */
- Curl_detach_connnection(data);
+ Curl_detach_connection(data);
}
return 0; /* continue iteration */