From b879edef7e2a6925e147819b1a72bc930c5d37de Mon Sep 17 00:00:00 2001 From: MonkeybreadSoftware Date: Wed, 17 Apr 2024 10:36:08 +0200 Subject: [PATCH] sendf: fix two typos in comments The parameters are named data, not date. Closes #13393 --- lib/sendf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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