From c7b067661985ba76c95500b92f53600938a07d11 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 29 Aug 2016 22:15:47 +0200 Subject: [PATCH] Fixed #140: invalid separator char in parser. --- src/vmime/net/imap/IMAPParser.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vmime/net/imap/IMAPParser.hpp b/src/vmime/net/imap/IMAPParser.hpp index b1241224..983a39dc 100644 --- a/src/vmime/net/imap/IMAPParser.hpp +++ b/src/vmime/net/imap/IMAPParser.hpp @@ -58,7 +58,7 @@ #include -//#define DEBUG_RESPONSE 1 +#define DEBUG_RESPONSE 1 #if DEBUG_RESPONSE @@ -762,7 +762,7 @@ public: size_t pos = *currentPos; VIMAP_PARSER_GET(uniqueid, m_uniqueid1); - VIMAP_PARSER_CHECK(one_char <','>); + VIMAP_PARSER_CHECK(one_char <':'>); VIMAP_PARSER_GET(uniqueid, m_uniqueid2); *currentPos = pos;