]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl.h: reword comment to not use deprecated option
authorDaniel Gustafsson <daniel@yesql.se>
Fri, 9 Dec 2022 08:41:24 +0000 (09:41 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Fri, 9 Dec 2022 08:41:24 +0000 (09:41 +0100)
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 <daniel@haxx.se>
include/curl/curl.h

index c15fbbf324c089179126bed77f51677b39214649..139df99950bcc9b70cfdb06328a6651bac9f2a2b 100644 (file)
@@ -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.