diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-04-09 22:41:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-04-09 22:41:22 +0000 |
commit | a21a77d2308157dc6058f4356b2d29008e5bc155 (patch) | |
tree | f941f9c545f9f79ff088f50e66e276dc6cd7f788 /lib | |
parent | 260b88c197645a3d2548c2938ff8097bdd69fb88 (diff) |
CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strerror.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index b690fc1b7..df3bac084 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2004, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2004, 2006, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -83,9 +83,6 @@ curl_easy_strerror(CURLcode error) case CURLE_FTP_ACCESS_DENIED: return "FTP: access denied"; - case CURLE_FTP_USER_PASSWORD_INCORRECT: - return "FTP: user and/or password incorrect"; - case CURLE_FTP_WEIRD_PASS_REPLY: return "FTP: unknown PASS reply"; @@ -276,11 +273,13 @@ curl_easy_strerror(CURLcode error) case CURLE_CONV_REQD: return "caller must register CURLOPT_CONV_ callback options"; - case CURLE_URL_MALFORMAT_USER: /* not used by current libcurl */ - case CURLE_MALFORMAT_USER: /* not used by current libcurl */ - case CURLE_BAD_CALLING_ORDER: /* not used by current libcurl */ - case CURLE_BAD_PASSWORD_ENTERED:/* not used by current libcurl */ - case CURLE_OBSOLETE: /* not used by current libcurl */ + /* error codes not used by current libcurl */ + case CURLE_URL_MALFORMAT_USER: + case CURLE_FTP_USER_PASSWORD_INCORRECT: + case CURLE_MALFORMAT_USER: + case CURLE_BAD_CALLING_ORDER: + case CURLE_BAD_PASSWORD_ENTERED: + case CURLE_OBSOLETE: case CURL_LAST: break; } |