summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-01 19:41:57 (UTC)
committer zautrix <zautrix>2004-09-01 19:41:57 (UTC)
commitf255826bda2f95721aec4d6c9ba372d852fb9d0b (patch) (side-by-side diff)
treedff43a1b3f933e91ffee864d20b7a6ded8bb1605
parent0cd2b8958ad93db27550b5e39d52e613b96b5e46 (diff)
downloadkdepimpi-f255826bda2f95721aec4d6c9ba372d852fb9d0b.zip
kdepimpi-f255826bda2f95721aec4d6c9ba372d852fb9d0b.tar.gz
kdepimpi-f255826bda2f95721aec4d6c9ba372d852fb9d0b.tar.bz2
Fixed a crash in mailwrapper
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/genericwrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kmicromail/libmailwrapper/genericwrapper.cpp b/kmicromail/libmailwrapper/genericwrapper.cpp
index 1fd4bb1..9614d53 100644
--- a/kmicromail/libmailwrapper/genericwrapper.cpp
+++ b/kmicromail/libmailwrapper/genericwrapper.cpp
@@ -451,11 +451,10 @@ void Genericwrapper::parseList(QValueList<Opie::Core::OSmartPointer<RecMail> > &
if (single_fields.fld_orig_date)
mail->setDate( parseDateTime( single_fields.fld_orig_date->dt_date_time ) );
// crashes when accessing pop3 account?
- if (single_fields.fld_message_id->mid_value) {
+ if (single_fields.fld_message_id) {
mail->setMsgid(QString(single_fields.fld_message_id->mid_value));
; // odebug << "Msgid == " << mail->Msgid().latin1() << "" << oendl;
}
-
if (single_fields.fld_reply_to) {
QStringList t = parseAddressList(single_fields.fld_reply_to->rt_addr_list);
if (t.count()>0) {