aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-10 04:35:35 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-10 04:35:35 +0800
commit3bd58106efb22b78e6fbabe9307880338ae92746 (patch)
tree6f54c6597f461a01d0750232d3c0f1ca423389a1 /camel/camel-multipart.c
parent4c87a79aa40f9fccc40f036b8e182122914cadb0 (diff)
downloadgsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.tar
gsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.tar.gz
gsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.tar.bz2
gsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.tar.lz
gsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.tar.xz
gsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.tar.zst
gsoc2013-evolution-3bd58106efb22b78e6fbabe9307880338ae92746.zip
various typo fixes in the ctree construction.
2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/message-browser.c: various typo fixes in the ctree construction. * camel/string-utils.c (string_trim): fix braindead trailing trim bug. * camel/gmime-content-field.c (gmime_content_field_construct_from_string): strip the leading and trailing quotes when constructing the content field. This should be done in a more generic RFC822 approach, but this fixes a bug that prevent matt from analysing some multipart messages. * camel/camel-data-wrapper.h: reorganize the deprecated and new methods. * camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file): Use "From " as the message separating string. * camel/providers/mbox/camel-mbox-folder.c (_append_message): set the mode when creating the mbox file. * camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): ditto * camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary): ditto svn path=/trunk/; revision=1711
Diffstat (limited to 'camel/camel-multipart.c')
-rw-r--r--camel/camel-multipart.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c
index 9b6734f011..b30f8590b0 100644
--- a/camel/camel-multipart.c
+++ b/camel/camel-multipart.c
@@ -343,6 +343,7 @@ _get_boundary (CamelMultipart *multipart)
return NULL;
}
boundary = gmime_content_field_get_parameter (CAMEL_DATA_WRAPPER (multipart)->mime_type, "boundary");
+ CAMEL_LOG_FULL_DEBUG ("Leaving CamelMultipart::boundary found : \"%s\"\n", boundary);
CAMEL_LOG_FULL_DEBUG ("Leaving CamelMultipart::_get_boundary\n");
return boundary;
}
@@ -443,10 +444,12 @@ _read_part (CamelStream *new_part_stream, CamelStream *stream, gchar *normal_bou
new_line = gmime_read_line_from_stream (stream);
}
}
+
if (new_line) g_free (new_line);
+ else last_part = TRUE;
CAMEL_LOG_FULL_DEBUG ("CamelMultipart:: Leaving _read_part\n");
- return (last_part || (new_line == NULL));
+ return (last_part);
}
static void