mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:23:44 +03:00
spelling fixes
Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
This commit is contained in:
parent
06df42410e
commit
7e35eb7729
32 changed files with 49 additions and 48 deletions
|
|
@ -2708,7 +2708,7 @@ sub datasockf_state {
|
|||
}
|
||||
|
||||
#**********************************************************************
|
||||
# nodataconn_str returns string of efective nodataconn command. Notice
|
||||
# nodataconn_str returns string of effective nodataconn command. Notice
|
||||
# that $nodataconn may be set alone or in addition to a $nodataconnXXX.
|
||||
#
|
||||
sub nodataconn_str {
|
||||
|
|
@ -2934,7 +2934,7 @@ while(@ARGV) {
|
|||
}
|
||||
|
||||
#***************************************************************************
|
||||
# Initialize command line option dependant variables
|
||||
# Initialize command line option dependent variables
|
||||
#
|
||||
|
||||
if(!$srcdir) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
* Simply download a HTTPS file!
|
||||
*
|
||||
* This test was added after the HTTPS-using-multi-interface with OpenSSL
|
||||
* regression of 7.19.1 to hopefully prevent this embarassing mistake from
|
||||
* regression of 7.19.1 to hopefully prevent this embarrassing mistake from
|
||||
* appearing again... Unfortunately the bug wasn't triggered by this test,
|
||||
* which presumably is because the connect to a local server is too
|
||||
* fast/different compared to the real/distant servers we saw the bug happen
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ struct data {
|
|||
/* Unexpected error.
|
||||
CURLE_NOT_BUILT_IN - means disabled at build
|
||||
CURLE_UNKNOWN_OPTION - means no such option (anymore?)
|
||||
CURLE_SSL_ENGINE_NOTFOUND - set unkown ssl engine
|
||||
CURLE_SSL_ENGINE_NOTFOUND - set unknown ssl engine
|
||||
CURLE_UNSUPPORTED_PROTOCOL - set bad HTTP version
|
||||
CURLE_BAD_FUNCTION_ARGUMENT - unsupported value
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ sub file {
|
|||
if($str =~ /((libcurl|curl)([^ ]*))\(3\)/i) {
|
||||
my $man = "$1.3";
|
||||
if(!manpresent($man)) {
|
||||
print STDERR "error: $f:$line: refering to non-existing man page $man\n";
|
||||
print STDERR "error: $f:$line: referring to non-existing man page $man\n";
|
||||
$errors++;
|
||||
}
|
||||
if($pre ne "I") {
|
||||
|
|
@ -87,7 +87,7 @@ sub file {
|
|||
while($i =~ s/((lib|)curl([^ ]*)) *\"\(3\)(,|) *\" *//i ) {
|
||||
my $man = "$1.3";
|
||||
if(!manpresent($man)) {
|
||||
print STDERR "error: $f:$line: refering to non-existing man page $man\n";
|
||||
print STDERR "error: $f:$line: referring to non-existing man page $man\n";
|
||||
$errors++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -451,7 +451,7 @@ sub build_sys_abs_path {
|
|||
return $path;
|
||||
}
|
||||
elsif(should_use_cygpath()) {
|
||||
# 'cygpath' is avalable - use it.
|
||||
# 'cygpath' is available - use it.
|
||||
|
||||
my $has_final_slash = ($path =~ m{[\\/]$});
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ function(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
|
|||
target_link_libraries(${TEST_NAME} ${CURL_LIBS})
|
||||
|
||||
# Test servers simply are standalone programs that do not use libcurl
|
||||
# library. For convinience and to ease portability of these servers,
|
||||
# library. For convenience and to ease portability of these servers,
|
||||
# some source code files from the libcurl subdirectory are also used
|
||||
# to build the servers. In order to achieve proper linkage of these
|
||||
# files on Win32 targets it is necessary to build the test servers
|
||||
|
|
|
|||
|
|
@ -1050,7 +1050,7 @@ static bool juggle(curl_socket_t *sockfdp,
|
|||
|
||||
Commands:
|
||||
|
||||
DATA - plain pass-thru data
|
||||
DATA - plain pass-through data
|
||||
*/
|
||||
|
||||
if(!read_stdin(buffer, 5))
|
||||
|
|
|
|||
|
|
@ -1347,7 +1347,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
|
|||
serverfd = socket(socket_domain, SOCK_STREAM, 0);
|
||||
if(CURL_SOCKET_BAD == serverfd) {
|
||||
error = SOCKERRNO;
|
||||
logmsg("Error creating socket for server conection: (%d) %s",
|
||||
logmsg("Error creating socket for server connection: (%d) %s",
|
||||
error, strerror(error));
|
||||
return CURL_SOCKET_BAD;
|
||||
}
|
||||
|
|
@ -1358,7 +1358,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
|
|||
curl_socklen_t flag = 1;
|
||||
if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY,
|
||||
(void *)&flag, sizeof(flag)))
|
||||
logmsg("====> TCP_NODELAY for server conection failed");
|
||||
logmsg("====> TCP_NODELAY for server connection failed");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -1423,7 +1423,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
|
|||
* either end.
|
||||
*
|
||||
* When doing FTP through a CONNECT proxy, we expect that the data connection
|
||||
* will be setup while the first connect is still being kept up. Therefor we
|
||||
* will be setup while the first connect is still being kept up. Therefore we
|
||||
* must accept a new connection and deal with it appropriately.
|
||||
*/
|
||||
|
||||
|
|
@ -1567,7 +1567,7 @@ static void http_connect(curl_socket_t *infdp,
|
|||
curl_socklen_t flag = 1;
|
||||
if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY,
|
||||
(void *)&flag, sizeof(flag)))
|
||||
logmsg("====> TCP_NODELAY for client DATA conection failed");
|
||||
logmsg("====> TCP_NODELAY for client DATA connection failed");
|
||||
}
|
||||
#endif
|
||||
req2.pipelining = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue