imap: Introduced IMAP_LIST state
authorSteve Holme <steve_holme@hotmail.com>
Tue, 5 Mar 2013 21:34:53 +0000 (21:34 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 5 Mar 2013 21:35:16 +0000 (21:35 +0000)
lib/imap.c
lib/imap.h

index 9d39cc6..4ee6fff 100644 (file)
@@ -479,6 +479,7 @@ static void state(struct connectdata *conn, imapstate newstate)
     "AUTHENTICATE_NTLM_TYPE2MSG",
     "AUTHENTICATE_FINAL",
     "LOGIN",
+    "LIST",
     "SELECT",
     "FETCH",
     "FETCH_FINAL",
index 1ca67fe..d290c3b 100644 (file)
@@ -45,6 +45,7 @@ typedef enum {
   IMAP_AUTHENTICATE_NTLM_TYPE2MSG,
   IMAP_AUTHENTICATE_FINAL,
   IMAP_LOGIN,
+  IMAP_LIST,
   IMAP_SELECT,
   IMAP_FETCH,
   IMAP_FETCH_FINAL,