diff options
author | bertrand <Bertrand.Guiheneuf@inria.fr> | 1999-06-23 00:12:27 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-06-23 00:12:27 +0800 |
commit | 7f81757d52326126f88e898241dc40c1668f5164 (patch) | |
tree | ce4f1671ce7d1280f8b1a375c15bbc79bd87cad9 /camel/gmime-utils.c | |
parent | 5deed2f193e7ab91f159f1a764b78578861044cd (diff) | |
download | gsoc2013-evolution-7f81757d52326126f88e898241dc40c1668f5164.tar.gz gsoc2013-evolution-7f81757d52326126f88e898241dc40c1668f5164.tar.zst gsoc2013-evolution-7f81757d52326126f88e898241dc40c1668f5164.zip |
moved all the content-type stuff here. (camel_data_wrapper_init):
1999-06-22 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-data-wrapper.c (_get_content_type):
moved all the content-type stuff here.
(camel_data_wrapper_init): initialize the instance
content-type field.
* camel/camel-mime-part.c (_parse_header_pair):
parse Content-Type stuff in header.
(_write_to_stream): write the content type stuff to
the stream.
svn path=/trunk/; revision=985
Diffstat (limited to 'camel/gmime-utils.c')
-rw-r--r-- | camel/gmime-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/gmime-utils.c b/camel/gmime-utils.c index 917c426801..1555d27e7b 100644 --- a/camel/gmime-utils.c +++ b/camel/gmime-utils.c @@ -71,7 +71,7 @@ write_header_table_to_stream (CamelStream *stream, GHashTable *header_table) void -write_header_with_glist_to_stream (CamelStream *stream, gchar *header_name, GList *header_values) +write_header_with_glist_to_stream (CamelStream *stream, gchar *header_name, GList *header_values, gchar *separator) { GString *current; @@ -86,7 +86,7 @@ write_header_with_glist_to_stream (CamelStream *stream, gchar *header_name, GLis while (header_values) { current = (GString *)header_values->data; if ( (current) && (current->str) ) { - if (!first) camel_stream_write (stream, ", ", 2); + if (!first) camel_stream_write_string (stream, separator); else first = FALSE; camel_stream_write (stream, current->str, strlen (current->str)); } |