diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-02 19:34:37 -0400 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-02 19:34:37 -0400 |
| commit | c6a76b8d21ffb88260e8d42bde19a8af1ea3882f (patch) | |
| tree | c1b288c4111f0399f13463e22acc42bdc34a060a /camel/camel-imapx-utils.c | |
| parent | d22b2ec7cdf32c9904e2c19fb263750b5173f62c (diff) | |
| download | evolution-data-server-c6a76b8d21ffb88260e8d42bde19a8af1ea3882f.tar.gz | |
IMAPX: Recognize RFC 5530 response codes.
Diffstat (limited to 'camel/camel-imapx-utils.c')
| -rw-r--r-- | camel/camel-imapx-utils.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/camel/camel-imapx-utils.c b/camel/camel-imapx-utils.c index 4007fbcc8..fcf2f5adb 100644 --- a/camel/camel-imapx-utils.c +++ b/camel/camel-imapx-utils.c @@ -1834,6 +1834,27 @@ imapx_parse_status (CamelIMAPXStream *is, case IMAPX_CAPABILITY: sinfo->u.cinfo = imapx_parse_capability (is, cancellable, NULL); break; + + /* RFC 5530 Response Codes */ + case IMAPX_ALREADYEXISTS: + case IMAPX_AUTHENTICATIONFAILED: + case IMAPX_AUTHORIZATIONFAILED: + case IMAPX_CANNOT: + case IMAPX_CLIENTBUG: + case IMAPX_CONTACTADMIN: + case IMAPX_CORRUPTION: + case IMAPX_EXPIRED: + case IMAPX_EXPUNGEISSUED: + case IMAPX_INUSE: + case IMAPX_LIMIT: + case IMAPX_NONEXISTENT: + case IMAPX_NOPERM: + case IMAPX_OVERQUOTA: + case IMAPX_PRIVACYREQUIRED: + case IMAPX_SERVERBUG: + case IMAPX_UNAVAILABLE: + break; + default: sinfo->condition = IMAPX_UNKNOWN; d (is->tagprefix, "Got unknown response code: %s: ignored\n", token); |
