aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/providers/imap4/camel-imap4-engine.c12
-rw-r--r--camel/providers/imap4/camel-imap4-engine.h8
2 files changed, 10 insertions, 10 deletions
diff --git a/camel/providers/imap4/camel-imap4-engine.c b/camel/providers/imap4/camel-imap4-engine.c
index ce5f83e38f..82b19bac86 100644
--- a/camel/providers/imap4/camel-imap4-engine.c
+++ b/camel/providers/imap4/camel-imap4-engine.c
@@ -435,8 +435,8 @@ static struct {
const char *name;
guint32 flag;
} imap4_capabilities[] = {
- { "IMAP44", CAMEL_IMAP4_CAPABILITY_IMAP44 },
- { "IMAP44REV1", CAMEL_IMAP4_CAPABILITY_IMAP44REV1 },
+ { "IMAP4", CAMEL_IMAP4_CAPABILITY_IMAP4 },
+ { "IMAP4REV1", CAMEL_IMAP4_CAPABILITY_IMAP4REV1 },
{ "STATUS", CAMEL_IMAP4_CAPABILITY_STATUS },
{ "NAMESPACE", CAMEL_IMAP4_CAPABILITY_NAMESPACE },
{ "UIDPLUS", CAMEL_IMAP4_CAPABILITY_UIDPLUS },
@@ -493,11 +493,11 @@ engine_parse_capability (CamelIMAP4Engine *engine, int sentinel, CamelException
camel_imap4_stream_unget_token (engine->istream, &token);
/* figure out which version of IMAP4 we are dealing with */
- if (engine->capa & CAMEL_IMAP4_CAPABILITY_IMAP44REV1) {
- engine->level = CAMEL_IMAP4_LEVEL_IMAP44REV1;
+ if (engine->capa & CAMEL_IMAP4_CAPABILITY_IMAP4REV1) {
+ engine->level = CAMEL_IMAP4_LEVEL_IMAP4REV1;
engine->capa |= CAMEL_IMAP4_CAPABILITY_STATUS;
- } else if (engine->capa & CAMEL_IMAP4_CAPABILITY_IMAP44) {
- engine->level = CAMEL_IMAP4_LEVEL_IMAP44;
+ } else if (engine->capa & CAMEL_IMAP4_CAPABILITY_IMAP4) {
+ engine->level = CAMEL_IMAP4_LEVEL_IMAP4;
} else {
engine->level = CAMEL_IMAP4_LEVEL_UNKNOWN;
}
diff --git a/camel/providers/imap4/camel-imap4-engine.h b/camel/providers/imap4/camel-imap4-engine.h
index 2fdc52e145..e818d58bbf 100644
--- a/camel/providers/imap4/camel-imap4-engine.h
+++ b/camel/providers/imap4/camel-imap4-engine.h
@@ -61,13 +61,13 @@ typedef enum {
typedef enum {
CAMEL_IMAP4_LEVEL_UNKNOWN,
- CAMEL_IMAP4_LEVEL_IMAP44,
- CAMEL_IMAP4_LEVEL_IMAP44REV1
+ CAMEL_IMAP4_LEVEL_IMAP4,
+ CAMEL_IMAP4_LEVEL_IMAP4REV1
} camel_imap4_level_t;
enum {
- CAMEL_IMAP4_CAPABILITY_IMAP44 = (1 << 0),
- CAMEL_IMAP4_CAPABILITY_IMAP44REV1 = (1 << 1),
+ CAMEL_IMAP4_CAPABILITY_IMAP4 = (1 << 0),
+ CAMEL_IMAP4_CAPABILITY_IMAP4REV1 = (1 << 1),
CAMEL_IMAP4_CAPABILITY_STATUS = (1 << 2),
CAMEL_IMAP4_CAPABILITY_NAMESPACE = (1 << 3),
CAMEL_IMAP4_CAPABILITY_UIDPLUS = (1 << 4),