From f255826bda2f95721aec4d6c9ba372d852fb9d0b Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 01 Sep 2004 19:41:57 +0000 Subject: Fixed a crash in mailwrapper --- (limited to 'kmicromail/libmailwrapper/genericwrapper.cpp') 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 > & 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) { -- cgit v0.9.0.2