aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index d84d560eff..9d4b98a07e 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -546,7 +546,7 @@ construct_from_parser(CamelMimePart *dw, CamelMimeParser *mp)
char *buf;
int len;
- d(printf("constructing mime-part\n"));
+ d(printf("mime_part::construct_from_parser()\n"));
switch (camel_mime_parser_step(mp, &buf, &len)) {
case HSCAN_HEADER:
@@ -563,6 +563,8 @@ construct_from_parser(CamelMimePart *dw, CamelMimeParser *mp)
default:
g_warning("Invalid state encountered???: %d", camel_mime_parser_state(mp));
}
+
+ d(printf("mime_part::construct_from_parser() leaving\n"));
}
void
@@ -576,6 +578,8 @@ construct_from_stream(CamelDataWrapper *dw, CamelStream *s)
{
CamelMimeParser *mp;
+ printf("mime_part::construct_from_stream()\n");
+
mp = camel_mime_parser_new();
if (camel_mime_parser_init_with_stream(mp, s) == -1) {
g_warning("Cannot create parser for stream");