Commit 72b34c55 72b34c55d8db2adde5d315a6692c119084585c1e by Sergey Poznyakoff

(rfc2047_decode): Bugfix.

1 parent f0be9b66
......@@ -126,7 +126,7 @@ rfc2047_decode (const char *tocode, const char *input, char **ptostr)
filter_create (&filter, in_stream, filter_type, MU_FILTER_DECODE,
MU_STREAM_READ);
while (stream_read (filter, buffer + bufpos, bufsize - bufpos, 0,
while (stream_sequential_read (filter, buffer + bufpos, bufsize - bufpos,
&nbytes) == 0 && nbytes)
{
/* FIXME: Need to convert character set */
......