aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index eed3d3e093..1501cf0ee6 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -466,7 +466,7 @@ static void emfh_gethttp(struct _EMFormatHTMLJob *job, int cancelled)
do {
/* FIXME: progress reporting in percentage, can we get the length always? do we care? */
- n = camel_stream_read(instream, buffer, 1500);
+ n = camel_stream_read(instream, buffer, sizeof (buffer));
if (n > 0) {
camel_operation_progress_count(NULL, total);
total += n;