aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vmime/net/imap/IMAPParser.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/vmime/net/imap/IMAPParser.hpp b/vmime/net/imap/IMAPParser.hpp
index 3b7def05..d71ecae6 100644
--- a/vmime/net/imap/IMAPParser.hpp
+++ b/vmime/net/imap/IMAPParser.hpp
@@ -1278,7 +1278,7 @@ public:
public:
flag()
- : m_flag_keyword(NULL)
+ : m_type(UNKNOWN), m_flag_keyword(NULL)
{
}
@@ -1324,6 +1324,7 @@ public:
}
else
{
+ m_type = KEYWORD_OR_EXTENSION;
m_flag_keyword = parser.get <atom>(line, &pos);
}
@@ -1339,6 +1340,7 @@ public:
DELETED,
SEEN,
DRAFT,
+ KEYWORD_OR_EXTENSION,
STAR // * = custom flags allowed
};