163
173
} else if (camel_content_type_is (dw->mime_type, "text", "*") &&
165
175
!camel_content_type_is (dw->mime_type, "text", "calendar")) {
166
176
CamelStream *mstream, *bstream;
167
177
mstream = camel_stream_mem_new();
168
178
if (camel_data_wrapper_decode_to_stream (dw, mstream) > 0) {
171
180
GString *str = g_string_new (NULL);
173
182
camel_stream_reset (mstream);
174
183
bstream = camel_stream_buffer_new (mstream, CAMEL_STREAM_BUFFER_READ|CAMEL_STREAM_BUFFER_BUFFER);
176
185
/* We should fetch just 200 unquoted lines. */