Fix spelling errors in src/
Found with codespell.
This commit is contained in:
parent
7609b32e7c
commit
7d86e467fa
@ -626,7 +626,7 @@ struct Configurable {
|
|||||||
long alivetime;
|
long alivetime;
|
||||||
bool content_disposition; /* use Content-disposition filename */
|
bool content_disposition; /* use Content-disposition filename */
|
||||||
|
|
||||||
int default_node_flags; /* default flags to seach for each 'node', which is
|
int default_node_flags; /* default flags to search for each 'node', which is
|
||||||
basically each given URL to transfer */
|
basically each given URL to transfer */
|
||||||
struct OutStruct *outs;
|
struct OutStruct *outs;
|
||||||
bool xattr; /* store metadata in extended attributes */
|
bool xattr; /* store metadata in extended attributes */
|
||||||
@ -2532,7 +2532,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
GetStr(&config->cookiefile, nextarg);
|
GetStr(&config->cookiefile, nextarg);
|
||||||
break;
|
break;
|
||||||
case 'B':
|
case 'B':
|
||||||
/* use ASCII/text when transfering */
|
/* use ASCII/text when transferring */
|
||||||
config->use_ascii = toggle;
|
config->use_ascii = toggle;
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
@ -3979,7 +3979,7 @@ int my_trace(CURL *handle, curl_infotype type,
|
|||||||
size_t i;
|
size_t i;
|
||||||
for(i = 0; i < size - 4; i++) {
|
for(i = 0; i < size - 4; i++) {
|
||||||
if(memcmp(&data[i], "\r\n\r\n", 4) == 0) {
|
if(memcmp(&data[i], "\r\n\r\n", 4) == 0) {
|
||||||
/* dump everthing through the CRLFCRLF as a sent header */
|
/* dump everything through the CRLFCRLF as a sent header */
|
||||||
text = "=> Send header";
|
text = "=> Send header";
|
||||||
dump(timebuf, text, output, data, i+4, config->tracetype, type);
|
dump(timebuf, text, output, data, i+4, config->tracetype, type);
|
||||||
data += i + 3;
|
data += i + 3;
|
||||||
@ -4937,7 +4937,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create the directory hierarchy, if not pre-existant to a multiple
|
/* Create the directory hierarchy, if not pre-existent to a multiple
|
||||||
file output call */
|
file output call */
|
||||||
|
|
||||||
if(config->create_dirs &&
|
if(config->create_dirs &&
|
||||||
|
@ -61,7 +61,7 @@ while (<STDIN>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $text = $line;
|
my $text = $line;
|
||||||
$text =~ s/^\s+//g; # cut off preceeding...
|
$text =~ s/^\s+//g; # cut off preceding...
|
||||||
$text =~ s/\s+$//g; # and trailing whitespaces
|
$text =~ s/\s+$//g; # and trailing whitespaces
|
||||||
|
|
||||||
$tlen = length($text);
|
$tlen = length($text);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user