]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: two minor typos
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 May 2026 14:17:11 +0000 (16:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 May 2026 17:53:49 +0000 (19:53 +0200)
Spotted by Copilot

Closes #21496

lib/url.c
lib/vtls/gtls.c

index 2f1d6e5f2fe78554ecb4faf7bb58dc19cfe0eeb0..accaaaa3adfcd712c340f8951e822ee462337698 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -651,7 +651,7 @@ bool Curl_conn_seems_dead(struct connectdata *conn,
       Curl_attach_connection(data, conn);
       dead = !Curl_conn_is_alive(data, conn, &input_pending);
       if(input_pending) {
-        /* For reuse, we want a "clean" connection state. The includes
+        /* For reuse, we want a "clean" connection state. This includes
          * that we expect - in general - no waiting input data. Input
          * waiting might be a TLS Notify Close, for example. We reject
          * that.
index e0a689eecb48cb7f1372066d4e6c2704e5bbd7c6..53d687046b65a1215dd3837ed5b7a79356a6d21b 100644 (file)
@@ -127,7 +127,7 @@ static ssize_t gtls_pull(void *s, void *buf, size_t blen)
   }
 
   result = Curl_conn_cf_recv(cf->next, data, buf, blen, &nread);
-  CURL_TRC_CF(data, cf, "glts_pull(len=%zu) -> %d, %zu", blen, result, nread);
+  CURL_TRC_CF(data, cf, "gtls_pull(len=%zu) -> %d, %zu", blen, result, nread);
   backend->gtls.io_result = result;
   if(result) {
     /* !checksrc! disable ERRNOVAR 1 */