aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-22 06:20:56 +0800
committerDan Winship <danw@src.gnome.org>2001-03-22 06:20:56 +0800
commit88bfa9d863e30e11be1a6435df3eba1624667194 (patch)
tree161808499a4ac524d78fd845ea57b8521330118b /mail/mail-format.c
parent5d562c3d3d879d05c75ecb300c53e0b5ae0120fc (diff)
downloadgsoc2013-evolution-88bfa9d863e30e11be1a6435df3eba1624667194.tar.gz
gsoc2013-evolution-88bfa9d863e30e11be1a6435df3eba1624667194.tar.zst
gsoc2013-evolution-88bfa9d863e30e11be1a6435df3eba1624667194.zip
Use the new URL part macros
* mail-config-druid.c (incoming_check, incoming_type_changed, transport_check, transport_type_changed): * mail-account-editor.c (transport_type_changed, source_check): Use the new URL part macros * mail-config.c (check_service_check): Use provider authtype list if not connecting. svn path=/trunk/; revision=8873
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 4d5dfd82d3..2668208bc9 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1538,16 +1538,16 @@ handle_multipart_related (CamelMimePart *part, const char *mime_type,
break;
}
}
-
- if (!display_part) {
- /* Oops. Hrmph. */
- return handle_multipart_mixed (part, mime_type, md);
- }
} else {
/* No start parameter, so it defaults to the first part. */
display_part = camel_multipart_get_part (mp, 0);
}
+ if (!display_part) {
+ /* Oops. Hrmph. */
+ return handle_multipart_mixed (part, mime_type, md);
+ }
+
/* Record the Content-IDs of any non-displayed parts. */
for (i = 0; i < nparts; i++) {
body_part = camel_multipart_get_part (mp, i);