mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
sendf: fix two typos in comments
The parameters are named data, not date. Closes #13393
This commit is contained in:
parent
0b4401a4fb
commit
b879edef7e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user