(rfc2047_decode): Bugfix.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -126,8 +126,8 @@ rfc2047_decode (const char *tocode, const char *input, char **ptostr) | ... | @@ -126,8 +126,8 @@ 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 */ |
133 | bufpos += nbytes; | 133 | bufpos += nbytes; | ... | ... |
-
Please register or sign in to post a comment