diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-02 14:56:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-02 23:03:55 +0200 |
commit | 6793332eba010770c25bcc7019d4d593b035fbe6 (patch) | |
tree | afd146a75a9cd2744f58467fbfbaebd59d2ffc82 /lib/strerror.c | |
parent | 9dc0baf5c611d46ff5136f1e32ef898b438e0aea (diff) | |
download | curl-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 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index 5298a0d76..a1ec539b9 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -188,8 +188,8 @@ curl_easy_strerror(CURLcode error) case CURLE_UNKNOWN_OPTION: return "An unknown option was passed in to libcurl"; - case CURLE_TELNET_OPTION_SYNTAX : - return "Malformed telnet option"; + case CURLE_SETOPT_OPTION_SYNTAX : + return "Malformed option provided in a setopt"; case CURLE_GOT_NOTHING: return "Server returned nothing (no headers, no data)"; |