summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-02 14:56:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-02 23:03:55 +0200
commit6793332eba010770c25bcc7019d4d593b035fbe6 (patch)
treeafd146a75a9cd2744f58467fbfbaebd59d2ffc82 /docs
parent9dc0baf5c611d46ff5136f1e32ef898b438e0aea (diff)
downloadcurl-6793332eba010770c25bcc7019d4d593b035fbe6.tar.gz
CURLE_SETOPT_OPTION_SYNTAX: new error name for wrong setopt syntax
For options that pass in lists or strings that are subsequently parsed and must be correct. This broadens the scope for the option previously known as CURLE_TELNET_OPTION_SYNTAX but the old name is of course still provided as a #define for existing applications. Closes #7175
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/libcurl-errors.35
-rw-r--r--docs/libcurl/symbols-in-versions1
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3
index dfff59c66..fefb0ee62 100644
--- a/docs/libcurl/libcurl-errors.3
+++ b/docs/libcurl/libcurl-errors.3
@@ -160,8 +160,9 @@ An option passed to libcurl is not recognized/known. Refer to the appropriate
documentation. This is most likely a problem in the program that uses
libcurl. The error buffer might contain more specific information about which
exact option it concerns.
-.IP "CURLE_TELNET_OPTION_SYNTAX (49)"
-A telnet option string was Illegally formatted.
+.IP "CURLE_SETOPT_OPTION_SYNTAX (49)"
+An option passed in to a setopt was wrongly formatted. See error message for
+details about what option.
.IP "CURLE_GOT_NOTHING (52)"
Nothing was returned from the server, and under the circumstances, getting
nothing is considered an error.
diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions
index 4fb46f801..1684284cd 100644
--- a/docs/libcurl/symbols-in-versions
+++ b/docs/libcurl/symbols-in-versions
@@ -120,6 +120,7 @@ CURLE_RTSP_CSEQ_ERROR 7.20.0
CURLE_RTSP_SESSION_ERROR 7.20.0
CURLE_SEND_ERROR 7.10
CURLE_SEND_FAIL_REWIND 7.12.3
+CURLE_SETOPT_OPTION_SYNTAX 7.78.0
CURLE_SHARE_IN_USE 7.9.6 7.17.0
CURLE_SSH 7.16.1
CURLE_SSL_CACERT 7.10 7.62.0