summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2022-12-09 09:41:24 +0100
committerDaniel Gustafsson <daniel@yesql.se>2022-12-09 09:41:24 +0100
commitfdafa0ef58a83beefb89133092575eed047f5f8a (patch)
tree6cd605ddea1ba9532fb6b0169e8bf65cfabc3bc8 /include
parentac4554870d40ffd5de0a95df162a3a8b6cfcc7aa (diff)
downloadcurl-fdafa0ef58a83beefb89133092575eed047f5f8a.tar.gz
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 <daniel@haxx.se>
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index c15fbbf32..139df9995 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.