Browse Source

misc: Fix incorrect spelling

Fix various uses of connnect by replacing them with connect.

Closes: #10045
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
andy5995 1 year ago
parent
commit
68ffb4063d
3 changed files with 4 additions and 4 deletions
  1. 2 2
      docs/TODO
  2. 1 1
      lib/http.h
  3. 1 1
      packages/vms/gnv_conftest.c_first

+ 2 - 2
docs/TODO

@@ -70,7 +70,7 @@
  4.7 STAT for LIST without data connection
 
  5. HTTP
- 5.1 Provide the error body from a CONNNECT response
+ 5.1 Provide the error body from a CONNECT response
  5.2 Set custom client ip when using haproxy protocol
  5.3 Rearrange request header order
  5.4 Allow SAN names in HTTP/2 server push
@@ -566,7 +566,7 @@
 
 5. HTTP
 
-5.1 Provide the error body from a CONNNECT response
+5.1 Provide the error body from a CONNECT response
 
  When curl receives a body response from a CONNECT request to a proxy, it will
  always just read and ignore it. It would make some users happy if curl

+ 1 - 1
lib/http.h

@@ -317,7 +317,7 @@ struct http_conn {
   uint8_t binsettings[H2_BINSETTINGS_LEN];
   size_t  binlen; /* length of the binsettings data */
 
-  /* We associate the connnectdata struct with the connection, but we need to
+  /* We associate the connectdata struct with the connection, but we need to
      make sure we can identify the current "driving" transfer. This is a
      work-around for the lack of nghttp2_session_set_user_data() in older
      nghttp2 versions that we want to support. (Added in 1.31.0) */

+ 1 - 1
packages/vms/gnv_conftest.c_first

@@ -31,7 +31,7 @@ char ldap_url_parse(void) {return 0;}
 /* These are to pass the test that does not use headers */
 /* Because configure does an #undef which keeps us from using #define */
 /* char CRYPTO_add_lock(void) {return 0;} */
-char SSL_connnect(void) {return 0;}
+char SSL_connect(void) {return 0;}
 char ENGINE_init(void) {return 0;}
 char RAND_status(void) {return 0;}
 /* char RAND_screen(void) {return 0;} In headers, but not present */