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) ...@@ -126,7 +126,7 @@ rfc2047_decode (const char *tocode, const char *input, char **ptostr)
126 filter_create (&filter, in_stream, filter_type, MU_FILTER_DECODE, 126 filter_create (&filter, in_stream, filter_type, MU_FILTER_DECODE,
127 MU_STREAM_READ); 127 MU_STREAM_READ);
128 128
129 while (stream_read (filter, buffer + bufpos, bufsize - bufpos, 0, 129 while (stream_sequential_read (filter, buffer + bufpos, bufsize - bufpos,
130 &nbytes) == 0 && nbytes) 130 &nbytes) == 0 && nbytes)
131 { 131 {
132 /* FIXME: Need to convert character set */ 132 /* FIXME: Need to convert character set */
......