summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper
Unidiff
Diffstat (limited to 'kmicromail/libmailwrapper') (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
@@ -446,21 +446,20 @@ void Genericwrapper::parseList(QValueList<Opie::Core::OSmartPointer<RecMail> > &
446 } 446 }
447 if (single_fields.fld_cc) 447 if (single_fields.fld_cc)
448 mail->setCC( parseAddressList( single_fields.fld_cc->cc_addr_list ) ); 448 mail->setCC( parseAddressList( single_fields.fld_cc->cc_addr_list ) );
449 if (single_fields.fld_bcc) 449 if (single_fields.fld_bcc)
450 mail->setBcc( parseAddressList( single_fields.fld_bcc->bcc_addr_list ) ); 450 mail->setBcc( parseAddressList( single_fields.fld_bcc->bcc_addr_list ) );
451 if (single_fields.fld_orig_date) 451 if (single_fields.fld_orig_date)
452 mail->setDate( parseDateTime( single_fields.fld_orig_date->dt_date_time ) ); 452 mail->setDate( parseDateTime( single_fields.fld_orig_date->dt_date_time ) );
453 // crashes when accessing pop3 account? 453 // crashes when accessing pop3 account?
454 if (single_fields.fld_message_id->mid_value) { 454 if (single_fields.fld_message_id) {
455 mail->setMsgid(QString(single_fields.fld_message_id->mid_value)); 455 mail->setMsgid(QString(single_fields.fld_message_id->mid_value));
456 ; // odebug << "Msgid == " << mail->Msgid().latin1() << "" << oendl; 456 ; // odebug << "Msgid == " << mail->Msgid().latin1() << "" << oendl;
457 } 457 }
458
459 if (single_fields.fld_reply_to) { 458 if (single_fields.fld_reply_to) {
460 QStringList t = parseAddressList(single_fields.fld_reply_to->rt_addr_list); 459 QStringList t = parseAddressList(single_fields.fld_reply_to->rt_addr_list);
461 if (t.count()>0) { 460 if (t.count()>0) {
462 mail->setReplyto(t[0]); 461 mail->setReplyto(t[0]);
463 } 462 }
464 } 463 }
465#if 0 464#if 0
466 refs = single_fields.fld_references; 465 refs = single_fields.fld_references;