Fixed isEmpty() test.

This commit is contained in:
Vincent Richard 2013-08-16 10:52:47 +02:00
parent 439642caea
commit 78a7c1fbe0

View File

@ -534,7 +534,7 @@ std::vector <ref <message> > IMAPFolder::getMessages(const messageSet& msgs)
if (!isOpen()) if (!isOpen())
throw exceptions::illegal_state("Folder not open"); throw exceptions::illegal_state("Folder not open");
if (msgs.isEmpty() == 0) if (msgs.isEmpty())
return std::vector <ref <message> >(); return std::vector <ref <message> >();
std::vector <ref <message> > messages; std::vector <ref <message> > messages;