From 8749ce651f1fb5c9bfe86de37d4522886e5d5cc0 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Sat, 17 Jul 2021 17:45:38 -0700 Subject: docs: correct spelling errors and a broken link Update grammar and spelling in docs and source code comments. Closes: #7427 Reviewed-by: Daniel Stenberg --- src/tool_operate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/tool_operate.c') 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=: --cert-type p12 - * must do the same thing than classic: + * must do the same thing as classic: * --cert : --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; -- cgit v1.2.1