From: MonkeybreadSoftware Date: Wed, 17 Apr 2024 08:36:08 +0000 (+0200) Subject: sendf: fix two typos in comments X-Git-Tag: curl-8_8_0~202 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b879edef7e2a6925e147819b1a72bc930c5d37de;p=thirdparty%2Fcurl.git sendf: fix two typos in comments The parameters are named data, not date. Closes #13393 --- diff --git a/lib/sendf.h b/lib/sendf.h index 3838f876eb..82a290257a 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -312,7 +312,7 @@ CURLcode Curl_creader_set(struct Curl_easy *data, struct Curl_creader *r); /** * Read at most `blen` bytes at `buf` from the client. - * @param date the transfer to read client bytes for + * @param data the transfer to read client bytes for * @param buf the memory location to read to * @param blen the amount of memory at `buf` * @param nread on return the number of bytes read into `buf` @@ -360,8 +360,8 @@ curl_off_t Curl_creader_client_length(struct Curl_easy *data); * Ask the installed reader at phase CURL_CR_CLIENT to start * reading from the given offset. On success, this will reduce * the `total_length()` by the amount. - * @param date the transfer to read client bytes for - * param offset the offset where to start reads from, negative + * @param data the transfer to read client bytes for + * @param offset the offset where to start reads from, negative * values will be ignored. * @return CURLE_OK if offset could be set * CURLE_READ_ERROR if not supported by reader or seek/read failed