diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-03 21:16:35 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-03 21:16:35 +0800 |
commit | 382308f44a4ab93659f9f54c8dac2c2cc381a471 (patch) | |
tree | 40d0f4d6d70f8ee6a8a01b7f9c6bf310732455d0 /camel/gmime-content-field.c | |
parent | e9c6d8921cce940e590f763a881794323a9e6703 (diff) | |
download | gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.tar gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.tar.gz gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.tar.bz2 gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.tar.lz gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.tar.xz gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.tar.zst gsoc2013-evolution-382308f44a4ab93659f9f54c8dac2c2cc381a471.zip |
There is a probleme here. We can not allow mime part content-type field
* camel/camel-mime-part.c (_set_content_object):
There is a probleme here. We can not allow mime part
content-type field and content_object mime-type to be
different. I thus chosed to set mime part object
content field to be freed (if necessary) and set
to be a pointer to content_object mime type
field.
(_construct_from_stream): set content_object mime type
to be the same as mime_part's one. This is necessary
because we use _set_content_type.
This two things are a bit hackish ansd may need
to be redesigned.
svn path=/trunk/; revision=1071
Diffstat (limited to 'camel/gmime-content-field.c')
-rw-r--r-- | camel/gmime-content-field.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/gmime-content-field.c b/camel/gmime-content-field.c index b4c8496083..caa8237290 100644 --- a/camel/gmime-content-field.c +++ b/camel/gmime-content-field.c @@ -126,6 +126,7 @@ gmime_content_field_write_to_stream (GMimeContentField *content_field, CamelStre if (!content_field) return; g_assert (stream); + printf ("Content-field address = %p\n", content_field); if (content_field->type) { camel_stream_write_strings (stream, "Content-Type: ", content_field->type, NULL); if (content_field->subtype) { @@ -134,7 +135,7 @@ gmime_content_field_write_to_stream (GMimeContentField *content_field, CamelStre /* print all parameters */ g_hash_table_foreach (content_field->parameters, _print_parameter, stream); camel_stream_write_string (stream, "\n"); - } + } else CAMEL_LOG_FULL_DEBUG ("GMimeContentField::write_to_stream no mime type found\n"); } /** |