aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-04-09 08:42:09 +0000
committerVincent Richard <[email protected]>2005-04-09 08:42:09 +0000
commit6057891e93bc365c77582d00d1d0c1a4ee445677 (patch)
tree735c873c7652971d4ba6c53b6ca9393888ce7d2c
parentMoved IMAP, POP3, maildir and SMTP files to separate namespaces. (diff)
downloadvmime-6057891e93bc365c77582d00d1d0c1a4ee445677.tar.gz
vmime-6057891e93bc365c77582d00d1d0c1a4ee445677.zip
Fixed warning.
-rw-r--r--src/platforms/posix/posixFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/posix/posixFile.cpp b/src/platforms/posix/posixFile.cpp
index 5448d894..83ea0f1b 100644
--- a/src/platforms/posix/posixFile.cpp
+++ b/src/platforms/posix/posixFile.cpp
@@ -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);