From d19c9e4e632f23812d2781f409f4d338e4a14f45 Mon Sep 17 00:00:00 2001 From: Christian Schmitz Date: Sat, 21 Feb 2026 12:57:35 +0100 Subject: [PATCH] request.h: rename parameter 'buf' to 'req' in Curl_req_send Someone renamed the parameter, so we need to rename the documentation. Closes #20660 --- lib/request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request.h b/lib/request.h index 3a2dd0de98..bcdd3168da 100644 --- a/lib/request.h +++ b/lib/request.h @@ -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. */