mirror of
https://github.com/mirror/wget.git
synced 2025-02-09 19:30:19 +08:00
Fix typos found by codespell
*/*: Fix typos Thanks to https://fossies.org/features.html#codespell Reported-by: Jens Schleusener
This commit is contained in:
parent
ce745c6a08
commit
b53c52c4c1
@ -3998,7 +3998,7 @@ This chapter contains all the stuff that could not fit anywhere else.
|
|||||||
|
|
||||||
@dfn{Proxies} are special-purpose @sc{http} servers designed to transfer
|
@dfn{Proxies} are special-purpose @sc{http} servers designed to transfer
|
||||||
data from remote servers to local clients. One typical use of proxies
|
data from remote servers to local clients. One typical use of proxies
|
||||||
is lightening network load for users behind a slow connection. This is
|
is lightning network load for users behind a slow connection. This is
|
||||||
achieved by channeling all @sc{http} and @sc{ftp} requests through the
|
achieved by channeling all @sc{http} and @sc{ftp} requests through the
|
||||||
proxy which caches the transferred data. When a cached resource is
|
proxy which caches the transferred data. When a cached resource is
|
||||||
requested again, proxy will return the data from cache. Another use for
|
requested again, proxy will return the data from cache. Another use for
|
||||||
|
@ -64,7 +64,7 @@ symperms (const char *s)
|
|||||||
|
|
||||||
|
|
||||||
/* Cleans a line of text so that it can be consistently parsed. Destroys
|
/* Cleans a line of text so that it can be consistently parsed. Destroys
|
||||||
<CR> and <LF> in case that thay occur at the end of the line and
|
<CR> and <LF> in case that they occur at the end of the line and
|
||||||
replaces all <TAB> character with <SPACE>. Returns the length of the
|
replaces all <TAB> character with <SPACE>. Returns the length of the
|
||||||
modified line. */
|
modified line. */
|
||||||
static int
|
static int
|
||||||
|
@ -692,7 +692,7 @@ hash_string_nocase (const void *key)
|
|||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Like string_cmp, but doing case-insensitive compareison. */
|
/* Like string_cmp, but doing case-insensitive comparison. */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
string_cmp_nocase (const void *s1, const void *s2)
|
string_cmp_nocase (const void *s1, const void *s2)
|
||||||
|
@ -75,7 +75,7 @@ extern int h_errno;
|
|||||||
lookup_host for details. */
|
lookup_host for details. */
|
||||||
|
|
||||||
struct address_list {
|
struct address_list {
|
||||||
int count; /* number of adrresses */
|
int count; /* number of addresses */
|
||||||
ip_address *addresses; /* pointer to the string of addresses */
|
ip_address *addresses; /* pointer to the string of addresses */
|
||||||
|
|
||||||
int faulty; /* number of addresses known not to work. */
|
int faulty; /* number of addresses known not to work. */
|
||||||
|
@ -5,10 +5,10 @@ from misc.wget_file import WgetFile
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
This test ensures that Wget returns the correct exit code when Basic
|
This test ensures that Wget returns the correct exit code when Basic
|
||||||
authentcation failes due to a username/password error.
|
authentication fails due to a username/password error.
|
||||||
"""
|
"""
|
||||||
############# File Definitions ###############################################
|
############# File Definitions ###############################################
|
||||||
File1 = "I am an invisble man."
|
File1 = "I am an invisible man."
|
||||||
|
|
||||||
File1_rules = {
|
File1_rules = {
|
||||||
"Authentication" : {
|
"Authentication" : {
|
||||||
|
@ -11,7 +11,7 @@ from misc.wget_file import WgetFile
|
|||||||
doesn't wait for a challenge the second time.
|
doesn't wait for a challenge the second time.
|
||||||
"""
|
"""
|
||||||
############# File Definitions ###############################################
|
############# File Definitions ###############################################
|
||||||
File1 = "I am an invisble man."
|
File1 = "I am an invisible man."
|
||||||
File2 = "I too am an invisible man."
|
File2 = "I too am an invisible man."
|
||||||
|
|
||||||
User = "Sauron"
|
User = "Sauron"
|
||||||
|
@ -11,7 +11,7 @@ from misc.wget_file import WgetFile
|
|||||||
doesn't wait for a challenge the second time.
|
doesn't wait for a challenge the second time.
|
||||||
"""
|
"""
|
||||||
############# File Definitions ###############################################
|
############# File Definitions ###############################################
|
||||||
File1 = "I am an invisble man."
|
File1 = "I am an invisible man."
|
||||||
File2 = "I too am an invisible man."
|
File2 = "I too am an invisible man."
|
||||||
|
|
||||||
User = "Sauron"
|
User = "Sauron"
|
||||||
|
@ -11,7 +11,7 @@ from misc.wget_file import WgetFile
|
|||||||
doesn't wait for a challenge the second time.
|
doesn't wait for a challenge the second time.
|
||||||
"""
|
"""
|
||||||
############# File Definitions ###############################################
|
############# File Definitions ###############################################
|
||||||
File1 = "I am an invisble man."
|
File1 = "I am an invisible man."
|
||||||
File2 = "I too am an invisible man."
|
File2 = "I too am an invisible man."
|
||||||
|
|
||||||
User = "Sauron"
|
User = "Sauron"
|
||||||
|
@ -9,7 +9,7 @@ from misc.wget_file import WgetFile
|
|||||||
and fails.
|
and fails.
|
||||||
"""
|
"""
|
||||||
############# File Definitions ###############################################
|
############# File Definitions ###############################################
|
||||||
File1 = "I am an invisble man."
|
File1 = "I am an invisible man."
|
||||||
|
|
||||||
User = "Sauron"
|
User = "Sauron"
|
||||||
Password = "TheEye"
|
Password = "TheEye"
|
||||||
|
@ -9,7 +9,7 @@ from misc.wget_file import WgetFile
|
|||||||
doesn't wait for a challenge the second time.
|
doesn't wait for a challenge the second time.
|
||||||
"""
|
"""
|
||||||
############# File Definitions ###############################################
|
############# File Definitions ###############################################
|
||||||
File1 = "I am an invisble man."
|
File1 = "I am an invisible man."
|
||||||
File2 = "I too am an invisible man."
|
File2 = "I too am an invisible man."
|
||||||
|
|
||||||
File1_rules = {
|
File1_rules = {
|
||||||
|
@ -98,7 +98,7 @@ Existing_Files = [UpToDate_Local_File1, UpToDate_Local_File2,
|
|||||||
|
|
||||||
ExpectedReturnCode = 0
|
ExpectedReturnCode = 0
|
||||||
|
|
||||||
# The uptodate file should not be downloaded
|
# The up-to-date file should not be downloaded
|
||||||
ExpectedDownloadedFiles = [UpToDate_Local_File1, UpToDate_Local_File2,
|
ExpectedDownloadedFiles = [UpToDate_Local_File1, UpToDate_Local_File2,
|
||||||
UpToDate_Local_File3, Newer_Local_File,
|
UpToDate_Local_File3, Newer_Local_File,
|
||||||
Updated_Server_File]
|
Updated_Server_File]
|
||||||
|
Loading…
Reference in New Issue
Block a user