misc: fix spelling mistakes

Reported-by: musvaage on github
Fixes #11171
Closes #11172
This commit is contained in:
Daniel Stenberg 2023-05-21 23:27:43 +02:00
parent 1561d06752
commit 127eb0d83a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
28 changed files with 41 additions and 42 deletions

View file

@ -272,7 +272,7 @@ int main(int argc, char *argv[])
// Initialize CURL connection
if(!init(conn, argv[1])) {
fprintf(stderr, "Connection initializion failed\n");
fprintf(stderr, "Connection initialization failed\n");
exit(EXIT_FAILURE);
}

View file

@ -101,8 +101,8 @@ int main(int argc, char **argv)
/* now specify which file to upload */
curl_easy_setopt(curl, CURLOPT_READDATA, hd_src);
/* provide the size of the upload, we specicially typecast the value
to curl_off_t since we must be sure to use the correct data size */
/* provide the size of the upload, we typecast the value to curl_off_t
since we must be sure to use the correct data size */
curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
(curl_off_t)file_info.st_size);