Fixed warning.

This commit is contained in:
Vincent Richard 2005-04-09 08:42:09 +00:00
parent 0bba2794fc
commit 6057891e93

View File

@ -80,7 +80,7 @@ vmime::utility::file* posixFileIterator::nextElement()
void posixFileIterator::getNextElement()
{
while (m_dirEntry = ::readdir(m_dir))
while ((m_dirEntry = ::readdir(m_dir)) != NULL)
{
const char* name = m_dirEntry->d_name;
const int len = ::strlen(name);