request.h: rename parameter 'buf' to 'req' in Curl_req_send

Someone renamed the parameter, so we need to rename the documentation.

Closes #20660
This commit is contained in:
Christian Schmitz 2026-02-21 12:57:35 +01:00 committed by Daniel Stenberg
parent c81309479a
commit d19c9e4e63
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -174,7 +174,7 @@ void Curl_req_hard_reset(struct SingleRequest *req, struct Curl_easy *data);
* they will be buffered. Use `Curl_req_flush()` to make sure
* bytes are really send.
* @param data the transfer making the request
* @param buf the complete header bytes, no body
* @param req the complete header bytes, no body
* @param httpversion version used in request (09, 10, 11, etc.)
* @return CURLE_OK (on blocking with *pnwritten == 0) or error.
*/