* mu-msg-util: some minor cosmetic fixes

This commit is contained in:
Dirk-Jan C. Binnema
2010-08-18 23:45:50 +03:00
parent 6b1fa8db25
commit 5fb3e7fd36
3 changed files with 22 additions and 13 deletions

View File

@ -29,7 +29,6 @@
#include "mu-util.h"
#include "mu-msg-gmime.h"
enum _StringFields {
HTML_FIELD = 0, /* body as HTML */
@ -844,13 +843,13 @@ fill_contact (MuMsgContact *contact, InternetAddress *addr,
if (!addr)
return FALSE;
contact->_name = internet_address_get_name (addr);
contact->_type = ctype;
contact->name = internet_address_get_name (addr);
contact->type = ctype;
/* we only support internet addresses;
* if we don't check, g_mime hits an assert
*/
contact->_addr = internet_address_mailbox_get_addr
contact->address = internet_address_mailbox_get_addr
(INTERNET_ADDRESS_MAILBOX(addr));
return TRUE;
@ -873,7 +872,7 @@ address_list_foreach (InternetAddressList *addrlist,
MuMsgContact contact;
if (!fill_contact(&contact,
internet_address_list_get_address (addrlist, i),
ctype)) {
ctype)) {
MU_WRITE_LOG ("ignoring contact");
continue;
}