From: Daniel Gustafsson Date: Fri, 9 Dec 2022 08:41:24 +0000 (+0100) Subject: curl.h: reword comment to not use deprecated option X-Git-Tag: curl-7_87_0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdafa0ef58a83beefb89133092575eed047f5f8a;p=thirdparty%2Fcurl.git 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 --- 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.