misc: spelling fixes

Mostly in comments but also in the -w documentation for headers_json.

Closes #8647
This commit is contained in:
Daniel Stenberg 2022-03-30 10:49:05 +02:00
parent adb3ecff8d
commit a3f4d7cee9
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 12 additions and 12 deletions

View file

@ -95,7 +95,7 @@ bool tool_create_output_file(struct OutStruct *outs,
}
memcpy(newname, fname, len);
newname[len] = '.';
while(fd == -1 && /* haven't sucessfully opened a file */
while(fd == -1 && /* haven't successfully opened a file */
(errno == EEXIST || errno == EISDIR) &&
/* because we keep having files that already exist */
next_num < 100 /* and we haven't reached the retry limit */ ) {

View file

@ -291,7 +291,7 @@ struct OperationConfig {
bool disallow_username_in_url; /* disallow usernames in URLs */
char *aws_sigv4;
enum {
CLOBBER_DEFAULT, /* Provides compatability with previous versions of curl,
CLOBBER_DEFAULT, /* Provides compatibility with previous versions of curl,
by using the default behavior for -o, -O, and -J.
If those options would have overwritten files, like
-o and -O would, then overwrite them. In the case of