From: andy5995 Date: Tue, 6 Dec 2022 19:34:12 +0000 (-0600) Subject: misc: Fix incorrect spelling X-Git-Tag: curl-7_87_0~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68ffb4063d3a868de79d1846b01d274b9a012adf;p=thirdparty%2Fcurl.git misc: Fix incorrect spelling Fix various uses of connnect by replacing them with connect. Closes: #10045 Reviewed-by: Daniel Stenberg Reviewed-by: Daniel Gustafsson --- diff --git a/docs/TODO b/docs/TODO index 3291044357..ba3e84a592 100644 --- a/docs/TODO +++ b/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 diff --git a/lib/http.h b/lib/http.h index f7cbb34244..ecfe4eed0a 100644 --- a/lib/http.h +++ b/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) */ diff --git a/packages/vms/gnv_conftest.c_first b/packages/vms/gnv_conftest.c_first index 2ee2447355..7f5952d4ce 100644 --- a/packages/vms/gnv_conftest.c_first +++ b/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 */