diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-26 14:01:27 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-26 14:01:27 +0000 |
commit | 6a64af83fc3b6e7ceecb70fbd31b04fd10e327ed (patch) | |
tree | 50b1569746cc24d008fae149d5c6f904b06a6834 /grpmi/curl_download/curl_download.xs | |
parent | 7b03c9775e77cb72af6a5e5760d1de47366f862b (diff) | |
download | rpmdrake-6a64af83fc3b6e7ceecb70fbd31b04fd10e327ed.tar rpmdrake-6a64af83fc3b6e7ceecb70fbd31b04fd10e327ed.tar.gz rpmdrake-6a64af83fc3b6e7ceecb70fbd31b04fd10e327ed.tar.bz2 rpmdrake-6a64af83fc3b6e7ceecb70fbd31b04fd10e327ed.tar.xz rpmdrake-6a64af83fc3b6e7ceecb70fbd31b04fd10e327ed.zip |
add the missing error messages
Diffstat (limited to 'grpmi/curl_download/curl_download.xs')
-rw-r--r-- | grpmi/curl_download/curl_download.xs | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/grpmi/curl_download/curl_download.xs b/grpmi/curl_download/curl_download.xs index e5fb80da..2aef858a 100644 --- a/grpmi/curl_download/curl_download.xs +++ b/grpmi/curl_download/curl_download.xs @@ -256,6 +256,59 @@ char * download_url_real(char * url, char * location, char * proxy, char * proxy case CURLE_BAD_CALLING_ORDER: return _("Bad calling order\n"); break; + case CURLE_HTTP_PORT_FAILED: + return _("HTTP Interface operation failed\n"); + break; + case CURLE_BAD_PASSWORD_ENTERED: + return _("my_getpass() returns fail\n"); + break; + case CURLE_TOO_MANY_REDIRECTS : + return _("catch endless re-direct loops\n"); + break; + case CURLE_UNKNOWN_TELNET_OPTION: + return _("User specified an unknown option\n"); + break; + case CURLE_TELNET_OPTION_SYNTAX : + return _("Malformed telnet option\n"); + break; + case CURLE_OBSOLETE: + return _("removed after 7.7.3\n"); + break; + case CURLE_SSL_PEER_CERTIFICATE: + return _("peer's certificate wasn't ok\n"); + break; + case CURLE_GOT_NOTHING: + return _("when this is a specific error\n"); + break; + case CURLE_SSL_ENGINE_NOTFOUND: + return _("SSL crypto engine not found\n"); + break; + case CURLE_SSL_ENGINE_SETFAILED: + return _("can not set SSL crypto engine as default\n"); + break; + case CURLE_SEND_ERROR: + return _("failed sending network data\n"); + break; + case CURLE_RECV_ERROR: + return _("failure in receiving network data\n"); + break; + case CURLE_SHARE_IN_USE: + return _("share is in use\n"); + break; + case CURLE_SSL_CERTPROBLEM: + return _("problem with the local certificate\n"); + break; + case CURLE_SSL_CIPHER: + return _("couldn't use specified cipher\n"); + break; + case CURLE_SSL_CACERT: + return _("problem with the CA cert (path?)\n"); + break; + case CURLE_BAD_CONTENT_ENCODING: + return _("Unrecognized transfer encoding\n"); + break; + + default: return my_asprintf(_("Unknown error code %d\n"), rescurl); break; |