diff options
author | bertrand <Bertrand.Guiheneuf@inria.fr> | 1999-05-20 04:24:23 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-05-20 04:24:23 +0800 |
commit | 429847f57bdfa7955db50ea9fc9e2cecdb5ab081 (patch) | |
tree | 3d842ec76936eb21007a36a522d9b23d84401d33 /camel/camel-mime-part.c | |
parent | f53eb88c5682c59e0e26e9a6e594566fd628e486 (diff) | |
download | gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.gz gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.bz2 gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.lz gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.xz gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.zst gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.zip |
test if content exists before calling its write_to method.
1999-05-19 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-mime-part.c (_write_to_file): test if content
exists before calling its write_to method.
* camel/camel-mime-message.c (_write_to_file): bugs fix.
First test of mime_message framework.
svn path=/trunk/; revision=934
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 416244ead9..02932214b9 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -496,7 +496,7 @@ _write_to_file(CamelDataWrapper *data_wrapper, FILE *file) WHPTF (file, "Content-MD5", mp->content_MD5); WHPTF (file, "Content-id", mp->content_id); fprintf(file,"\n"); - camel_data_wrapper_write_to_file (mp->content, file); + if (mp->content) camel_data_wrapper_write_to_file (mp->content, file); } |