summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNyholm <tobias.nyholm@gmail.com>2021-07-17 17:45:38 -0700
committerDaniel Gustafsson <daniel@yesql.se>2021-07-18 21:14:36 +0200
commit8749ce651f1fb5c9bfe86de37d4522886e5d5cc0 (patch)
treefa7ebf08dfb6058997c076c5104bce308b800806 /src
parent2c2b26145ff8f1aafe32c060f4102da4f5d6eafd (diff)
downloadcurl-8749ce651f1fb5c9bfe86de37d4522886e5d5cc0.tar.gz
docs: correct spelling errors and a broken link
Update grammar and spelling in docs and source code comments. Closes: #7427 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 3c580ffae..e6ca575bf 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -279,7 +279,7 @@ static CURLcode pre_transfer(struct GlobalConfig *global,
*
* - Stat gives a size but this is UNRELIABLE in VMS As a f.e. a
* fixed file with implied CC needs to have a byte added for every
- * record processed, this can by derived from Filesize & recordsize
+ * record processed, this can be derived from Filesize & recordsize
* for VARiable record files the records need to be counted! for
* every record add 1 for linefeed and subtract 2 for the record
* header for VARIABLE header files only the bare record data needs
@@ -530,7 +530,7 @@ static CURLcode post_per_transfer(struct GlobalConfig *global,
}
if(outs->bytes && outs->filename && outs->stream) {
int rc;
- /* We have written data to a output file, we truncate file
+ /* We have written data to an output file, we truncate file
*/
if(!global->mute)
fprintf(global->errors, "Throwing away %"
@@ -1181,7 +1181,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
input->config = config;
/* Note that if CURLOPT_READFUNCTION is fread (the default), then
* lib/telnet.c will Curl_poll() on the input file descriptor
- * rather then calling the READFUNCTION at regular intervals.
+ * rather than calling the READFUNCTION at regular intervals.
* The circumstances in which it is preferable to enable this
* behavior, by omitting to set the READFUNCTION & READDATA options,
* have not been determined.
@@ -1483,7 +1483,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
/* In debug build of curl tool, using
* --cert loadmem=<filename>:<password> --cert-type p12
- * must do the same thing than classic:
+ * must do the same thing as classic:
* --cert <filename>:<password> --cert-type p12
* but is designed to test blob */
#if defined(CURLDEBUG) || defined(DEBUGBUILD)
@@ -2048,7 +2048,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
}
else {
/* Free this URL node data without destroying the
- the node itself nor modifying next pointer. */
+ node itself nor modifying next pointer. */
Curl_safefree(urlnode->outfile);
Curl_safefree(urlnode->infile);
urlnode->flags = 0;