aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gmime-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/gmime-utils.c')
-rw-r--r--camel/gmime-utils.c4
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));
}