summaryrefslogtreecommitdiff
authorjgf <jgf>2004-01-07 00:24:52 (UTC)
committer jgf <jgf>2004-01-07 00:24:52 (UTC)
commit656e80e7b35c4aefd49ffe7756d895f4e7370de1 (patch) (side-by-side diff)
tree41448111df3e76f9185203f97405b141e830d9e6
parenta0ea0a96c91d95aa379a086238de18075ee5e4b5 (diff)
downloadopie-656e80e7b35c4aefd49ffe7756d895f4e7370de1.zip
opie-656e80e7b35c4aefd49ffe7756d895f4e7370de1.tar.gz
opie-656e80e7b35c4aefd49ffe7756d895f4e7370de1.tar.bz2
pop3 crash - quick fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/genericwrapper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/genericwrapper.cpp b/noncore/net/mail/libmailwrapper/genericwrapper.cpp
index 714396b..2d1596d 100644
--- a/noncore/net/mail/libmailwrapper/genericwrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/genericwrapper.cpp
@@ -485,14 +485,15 @@ void Genericwrapper::parseList(QList<RecMail> &target,mailsession*session,const
if (single_fields.fld_cc)
mail->setCC( parseAddressList( single_fields.fld_cc->cc_addr_list ) );
if (single_fields.fld_bcc)
mail->setBcc( parseAddressList( single_fields.fld_bcc->bcc_addr_list ) );
if (single_fields.fld_orig_date)
mail->setDate( parseDateTime( single_fields.fld_orig_date->dt_date_time ) );
- if (single_fields.fld_message_id->mid_value)
- mail->setMsgid(QString(single_fields.fld_message_id->mid_value));
+ // crashes when accessing pop3 account
+ // if (single_fields.fld_message_id->mid_value)
+ // mail->setMsgid(QString(single_fields.fld_message_id->mid_value));
refs = single_fields.fld_references;
if (refs && refs->mid_list && clist_count(refs->mid_list)) {
char * text = (char*)refs->mid_list->first->data;
mail->setReplyto(QString(text));
}
target.append(mail);