Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #4869

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/KNOWN_BUGS
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ problems may have been fixed or changed somewhat since this was written!
1.6 Unnecessary close when 401 received waiting for 100

libcurl closes the connection if an HTTP 401 reply is received while it is
waiting for the the 100-continue response.
waiting for the 100-continue response.
https://curl.haxx.se/mail/lib-2008-08/0462.html

1.7 Deflate error after all content was received
Expand Down
2 changes: 1 addition & 1 deletion docs/cmdline-opts/alt-svc.d
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Specify a "" file name (zero length) to avoid loading/saving and make curl
just handle the cache in memory.

If this option is used several times, curl will load contents from all the
files but the the last one will be used for saving.
files but the last one will be used for saving.
2 changes: 1 addition & 1 deletion lib/doh.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ static DOHcode store_cname(unsigned char *doh,
if((index + 1) >= dohlen)
return DOH_DNS_OUT_OF_RANGE;

/* move to the the new index */
/* move to the new index */
newpos = (length & 0x3f) << 8 | doh[index + 1];
index = newpos;
continue;
Expand Down
2 changes: 1 addition & 1 deletion lib/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
return CURLE_OUT_OF_MEMORY;
}
}
/* Extract the the URL to use in the request. Store in STRING_TEMP_URL for
/* Extract the URL to use in the request. Store in STRING_TEMP_URL for
clean-up reasons if the function returns before the free() further
down. */
uc = curl_url_get(h, CURLUPART_URL, &data->set.str[STRING_TEMP_URL], 0);
Expand Down
2 changes: 1 addition & 1 deletion lib/url.c
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ ConnectionExists(struct Curl_easy *data,
needle->conn_to_port == check->conn_to_port) &&
strcasecompare(needle->host.name, check->host.name) &&
needle->remote_port == check->remote_port) {
/* The schemes match or the the protocol family is the same and the
/* The schemes match or the protocol family is the same and the
previous connection was TLS upgraded, and the hostname and host
port match */
if(needle->handler->flags & PROTOPT_SSL) {
Expand Down
2 changes: 1 addition & 1 deletion lib/vtls/schannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
unsigned short* list_len = NULL;

/* The first four bytes will be an unsigned int indicating number
of bytes of data in the rest of the the buffer. */
of bytes of data in the rest of the buffer. */
extension_len = (unsigned int *)(&alpn_buffer[cur]);
cur += sizeof(unsigned int);

Expand Down
2 changes: 1 addition & 1 deletion lib/vtls/sectransp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ static OSStatus CopyIdentityFromPKCS12File(const char *cPath,
* the Keychain.
*
* As this doesn't match iOS, and apps may not want to see their client
* certificate saved in the the user's keychain, we use SecItemImport
* certificate saved in the user's keychain, we use SecItemImport
* with a NULL keychain to avoid importing it.
*
* This returns a SecCertificateRef from which we can construct a
Expand Down
4 changes: 2 additions & 2 deletions m4/curl-confopts.m4
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ AC_HELP_STRING([--disable-curldebug],[Disable curl debug memory tracking]),
;;
default)
dnl configure's curldebug option not specified. Initially we will
dnl handle this as a a request to use the same setting as option
dnl handle this as a request to use the same setting as option
dnl --enable-debug. IOW, initially, for debug-enabled builds
dnl this will be handled as a request to enable curldebug if
dnl possible, and for debug-disabled builds this will be handled
Expand Down Expand Up @@ -198,7 +198,7 @@ AC_HELP_STRING([--disable-optimize],[Disable compiler optimizations]),
;;
default)
dnl configure's optimize option not specified. Initially we will
dnl handle this as a a request contrary to configure's setting
dnl handle this as a request contrary to configure's setting
dnl for --enable-debug. IOW, initially, for debug-enabled builds
dnl this will be handled as a request to disable optimizations if
dnl possible, and for debug-disabled builds this will be handled
Expand Down
2 changes: 1 addition & 1 deletion m4/curl-functions.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6350,7 +6350,7 @@ dnl glibc-style strerror_r:
dnl
dnl char *strerror_r(int errnum, char *workbuf, size_t bufsize);
dnl
dnl glibc-style strerror_r returns a pointer to the the error string,
dnl glibc-style strerror_r returns a pointer to the error string,
dnl and might use the provided workbuf as a scratch area if needed. A
dnl quick test on a few systems shows that it's usually not used at all.
dnl
Expand Down
2 changes: 1 addition & 1 deletion packages/vms/compare_curl_source.com
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $! me because VMS Backup can create a saveset of files from a
$! NFS mounted volume.
$!
$! First the files in the original source directory which is assumed to be
$! under source codde control are compared with the copy directory.
$! under source code control are compared with the copy directory.
$!
$! Then the files are are only in the copy directory are listed.
$!
Expand Down
2 changes: 1 addition & 1 deletion packages/vms/curl_crtl_init.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* File: curl_crtl_init.c
*
* This file makes sure that the DECC Unix settings are correct for
* the mode the the program is run in.
* the mode the program is run in.
*
* The CRTL has not been initialized at the time that these routines
* are called, so many routines can not be called.
Expand Down
4 changes: 2 additions & 2 deletions packages/vms/readme
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ LDAP and Kerberos installed, you can use the GNV_LINK_CURL.COM file.
The GNV_LINK_CURL.COM contains information on how to link and run with a newer
version of HP SSL than what may be install on an Alpha or IA64 based system.

To build the PCSI kit, follow the the instructions in the file
To build the PCSI kit, follow the instructions in the file
curl_gnv_build_steps.txt.

Other Notes:
Expand All @@ -206,7 +206,7 @@ The libcurl formdata.c module and Curl tools post form now have some
understanding of VMS file types. Files will be posted in STREAM_LF format.

The Curl tool now has some understanding of VMS file types and will upload the
files in STREAM_LF fomat.
files in STREAM_LF format.

When CURL is uploading a VARIABLE format VMS file, it is less efficient as in
order to get the file size, it will first read the entire file once, and then
Expand Down
2 changes: 1 addition & 1 deletion tests/keywords.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
for(@cmds) {
$_ =~ s/[a-z\/\.]*//g;
}
# the the numbers from low to high
# the numbers from low to high
for(sort { $a <=> $b } @cmds) {
$TESTCASES .= " $_";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/runtests.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3152,7 +3152,7 @@ sub subVariables {
$$thing =~ s/%USER/$USER/g;

# The purpose of FTPTIME2 and FTPTIME3 is to provide times that can be
# used for time-out tests and that whould work on most hosts as these
# used for time-out tests and that would work on most hosts as these
# adjust for the startup/check time for this particular host. We needed
# to do this to make the test suite run better on very slow hosts.

Expand Down
2 changes: 1 addition & 1 deletion tests/server/sws.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ static int ProcessRequest(struct httprequest *req)
}

if(req->testno == DOCNUMBER_NOTHING) {
/* Still no test case number. Try to get the the number off the last dot
/* Still no test case number. Try to get the number off the last dot
instead, IE we consider the TLD to be the test number. Test 123 can
then be written as "example.com.123". */

Expand Down