aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pst-import
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-27 20:46:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-27 20:46:13 +0800
commitda1117397e3b2ad70431f9100b4b1abef0498e78 (patch)
tree1949bc673ce285cd1b3329cd01a12a06d2cfabb2 /plugins/pst-import
parentff186e22dd664953566250c9295a147a4e1d4d5d (diff)
downloadgsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.tar
gsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.tar.gz
gsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.tar.bz2
gsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.tar.lz
gsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.tar.xz
gsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.tar.zst
gsoc2013-evolution-da1117397e3b2ad70431f9100b4b1abef0498e78.zip
Update NEWS + coding style cleanups.
Diffstat (limited to 'plugins/pst-import')
-rw-r--r--plugins/pst-import/pst-importer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index a8099bd0b1..ddc7e7662f 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -908,13 +908,13 @@ pst_process_email (PstImporter *m, pst_item *item)
info = camel_message_info_new (NULL);
/* Read message flags (see comments in libpst.c */
- if(item->flags && 0x01)
+ if (item->flags && 0x01)
camel_message_info_set_flags (info, CAMEL_MESSAGE_SEEN, ~0);
if (item->email->importance == 2)
camel_message_info_set_flags (info, CAMEL_MESSAGE_FLAGGED, ~0);
- if(item->flags && 0x08)
+ if (item->flags && 0x08)
camel_message_info_set_flags (info, CAMEL_MESSAGE_DRAFT, ~0);
camel_folder_append_message (m->folder, msg, info, NULL, &m->ex);
@@ -1056,15 +1056,15 @@ pst_process_contact (PstImporter *m, pst_item *item)
contact_set_string (ec, E_CONTACT_TITLE, c->job_title.str);
contact_set_address (ec,E_CONTACT_ADDRESS_WORK,
- c->business_address.str, c->business_city.str, c->business_country.str,
+ c->business_address.str, c->business_city.str, c->business_country.str,
c->business_po_box.str, c->business_postal_code.str, c->business_state.str, c->business_street.str);
contact_set_address (ec,E_CONTACT_ADDRESS_HOME,
- c->home_address.str, c->home_city.str, c->home_country.str,
+ c->home_address.str, c->home_city.str, c->home_country.str,
c->home_po_box.str, c->home_postal_code.str, c->home_state.str, c->home_street.str);
contact_set_address (ec,E_CONTACT_ADDRESS_OTHER,
- c->other_address.str, c->other_city.str, c->other_country.str,
+ c->other_address.str, c->other_city.str, c->other_country.str,
c->other_po_box.str, c->other_postal_code.str, c->other_state.str, c->other_street.str);
contact_set_string (ec, E_CONTACT_PHONE_ASSISTANT, c->assistant_phone.str);