diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-09-14 09:17:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-09-15 09:31:29 +0200 |
commit | 7f5fe74323e2d63371c2b2f936ee2c630d1042c0 (patch) | |
tree | 7ff2482bc993fb2af19da53194d421f8e05d91a1 /lib | |
parent | 5142553c5a163ded347ab36fa7d78bf2d8ff114c (diff) | |
download | curl-7f5fe74323e2d63371c2b2f936ee2c630d1042c0.tar.gz |
strerror: improve two URL API error messages
Diffstat (limited to 'lib')
-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 eceb1668a..b9a51e26b 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -476,7 +476,7 @@ curl_url_strerror(CURLUcode error) return "Port number was not a decimal number between 0 and 65535"; case CURLUE_UNSUPPORTED_SCHEME: - return "This libcurl build doesn't support the given URL scheme"; + return "Unsupported URL scheme"; case CURLUE_URLDECODE: return "URL decode error, most likely because of rubbish in the input"; @@ -530,7 +530,7 @@ curl_url_strerror(CURLUcode error) return "Bad file:// URL"; case CURLUE_BAD_SLASHES: - return "Unsupported number of slashes"; + return "Unsupported number of slashes following scheme"; case CURLUE_BAD_SCHEME: return "Bad scheme"; |