summaryrefslogtreecommitdiff
authoralwin <alwin>2003-12-15 20:02:55 (UTC)
committer alwin <alwin>2003-12-15 20:02:55 (UTC)
commit0d9ef683fbd3822723e350b09d4c700316889ba6 (patch) (side-by-side diff)
tree363fd34b200ee8afa295559830c4fb1355705cde
parent11a72463d467225b2079f662de513d37ca8e66b2 (diff)
downloadopie-0d9ef683fbd3822723e350b09d4c700316889ba6.zip
opie-0d9ef683fbd3822723e350b09d4c700316889ba6.tar.gz
opie-0d9ef683fbd3822723e350b09d4c700316889ba6.tar.bz2
forget to check the delete flag when making message list
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/pop3wrapper.cpp5
-rw-r--r--noncore/net/mail/pop3wrapper.cpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
index b4a8f4b..a33a16b 100644
--- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp
@@ -77,2 +77,4 @@ void POP3wrapper::listMessages(const QString &, QList<RecMail> &target )
err = mailpop3_get_msg_info(m_pop3,i+1,&info);
+ if (info->msg_deleted)
+ continue;
err = mailpop3_header( m_pop3, info->msg_index, &header, &length );
@@ -319,3 +321,3 @@ QList<Folder>* POP3wrapper::listFolders()
/* TODO: integrate MH directories
- but not vor version 0.1 ;)
+ but not before version 0.1 ;)
*/
@@ -346 +348,2 @@ void POP3wrapper::answeredMail(const RecMail&)
}
+
diff --git a/noncore/net/mail/pop3wrapper.cpp b/noncore/net/mail/pop3wrapper.cpp
index b4a8f4b..a33a16b 100644
--- a/noncore/net/mail/pop3wrapper.cpp
+++ b/noncore/net/mail/pop3wrapper.cpp
@@ -77,2 +77,4 @@ void POP3wrapper::listMessages(const QString &, QList<RecMail> &target )
err = mailpop3_get_msg_info(m_pop3,i+1,&info);
+ if (info->msg_deleted)
+ continue;
err = mailpop3_header( m_pop3, info->msg_index, &header, &length );
@@ -319,3 +321,3 @@ QList<Folder>* POP3wrapper::listFolders()
/* TODO: integrate MH directories
- but not vor version 0.1 ;)
+ but not before version 0.1 ;)
*/
@@ -346 +348,2 @@ void POP3wrapper::answeredMail(const RecMail&)
}
+