summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Hruska <jirka@fud.cz>2013-03-03 10:10:01 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-03-03 10:13:13 +0000
commit51dbaae432f3a7cdf5f8a6f8ffee7afcf10a3ccc (patch)
tree41f8d85cd702e388e3930791be8db1de926d24bd
parentdcffd936e15837c4894a0fabde60b149f4a28636 (diff)
downloadcurl-51dbaae432f3a7cdf5f8a6f8ffee7afcf10a3ccc.tar.gz
imap: Introduced IMAP_CUSTOM state
-rw-r--r--lib/imap.c1
-rw-r--r--lib/imap.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/imap.c b/lib/imap.c
index d240fb3a9..1feeb7330 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -471,6 +471,7 @@ static void state(struct connectdata *conn, imapstate newstate)
"FETCH_FINAL",
"APPEND",
"APPEND_FINAL",
+ "CUSTOM",
"LOGOUT",
/* LAST */
};
diff --git a/lib/imap.h b/lib/imap.h
index c124703bb..b92a14d51 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -50,6 +50,7 @@ typedef enum {
IMAP_FETCH_FINAL,
IMAP_APPEND,
IMAP_APPEND_FINAL,
+ IMAP_CUSTOM,
IMAP_LOGOUT,
IMAP_LAST /* never used */
} imapstate;