From fdafa0ef58a83beefb89133092575eed047f5f8a Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Fri, 9 Dec 2022 09:41:24 +0100 Subject: [PATCH] curl.h: reword comment to not use deprecated option CURLOPT_INFILE was replaced by CURLOPT_READDATA in 7.9.7, reword the comment mentioning it to make code grepping easier as well as improve the documentation. Closes: #10062 Reviewed-by: Daniel Stenberg --- include/curl/curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/curl/curl.h b/include/curl/curl.h index c15fbbf324..139df99950 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1140,7 +1140,7 @@ typedef enum { /* Time-out the read operation after this amount of seconds */ CURLOPT(CURLOPT_TIMEOUT, CURLOPTTYPE_LONG, 13), - /* If the CURLOPT_INFILE is used, this can be used to inform libcurl about + /* If CURLOPT_READDATA is used, this can be used to inform libcurl about * how large the file being sent really is. That allows better error * checking and better verifies that the upload was successful. -1 means * unknown size.