diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-04-12 22:09:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-04-18 19:46:21 +0200 |
commit | ebb37eac8ba8caca5282c41635e491f19fe7df48 (patch) | |
tree | 352ac94b66b221e5800b5021377173d7b0559ed4 | |
parent | 9d191a6a40c2e90153d4b60cbc78fa34837c07ee (diff) |
CURLE_BAD_CONTENT_ENCODING: now used for transfer encoding too
-rw-r--r-- | include/curl/curl.h | 2 | ||||
-rw-r--r-- | lib/strerror.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 1a7ba7695..b44649588 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -467,7 +467,7 @@ typedef enum { CURLE_SSL_CERTPROBLEM, /* 58 - problem with the local certificate */ CURLE_SSL_CIPHER, /* 59 - couldn't use specified cipher */ CURLE_SSL_CACERT, /* 60 - problem with the CA cert (path?) */ - CURLE_BAD_CONTENT_ENCODING, /* 61 - Unrecognized transfer encoding */ + CURLE_BAD_CONTENT_ENCODING, /* 61 - Unrecognized/bad encoding */ CURLE_LDAP_INVALID_URL, /* 62 - Invalid LDAP URL */ CURLE_FILESIZE_EXCEEDED, /* 63 - Maximum file size exceeded */ CURLE_USE_SSL_FAILED, /* 64 - Requested FTP SSL level failed */ diff --git a/lib/strerror.c b/lib/strerror.c index 8144f78f0..59f2df5f7 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -211,7 +211,7 @@ curl_easy_strerror(CURLcode error) return "Problem with the SSL CA cert (path? access rights?)"; case CURLE_BAD_CONTENT_ENCODING: - return "Unrecognized HTTP Content-Encoding"; + return "Unrecognized or bad HTTP Content or Transfer-Encoding"; case CURLE_LDAP_INVALID_URL: return "Invalid LDAP URL"; |