aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 7a40e99c83..ecd56c60ed 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2077,7 +2077,7 @@ save_part_save (struct _mail_msg *mm)
filtered_stream = stream_fs;
}
- if (camel_data_wrapper_write_to_stream (data, filtered_stream) == -1
+ if (camel_data_wrapper_decode_to_stream (data, filtered_stream) == -1
|| camel_stream_flush (filtered_stream) == -1)
camel_exception_setv (&mm->ex, CAMEL_EXCEPTION_SYSTEM,
_("Could not write data: %s"),