Bugfix
* libmailutils/stream/stream.c (mu_stream_ioctl): Don't flush read buffer.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1160,7 +1160,7 @@ mu_stream_ioctl (mu_stream_t stream, int family, int opcode, void *ptr) | ... | @@ -1160,7 +1160,7 @@ mu_stream_ioctl (mu_stream_t stream, int family, int opcode, void *ptr) |
1160 | { | 1160 | { |
1161 | int rc; | 1161 | int rc; |
1162 | _bootstrap_event (stream); | 1162 | _bootstrap_event (stream); |
1163 | if ((rc = _stream_flush_buffer (stream, _MU_STR_FLUSH_ALL))) | 1163 | if ((rc = _stream_flush_buffer (stream, _MU_STR_FLUSH_ALL|_MU_STR_FLUSH_KEEP))) |
1164 | return rc; | 1164 | return rc; |
1165 | if (stream->ctl == NULL) | 1165 | if (stream->ctl == NULL) |
1166 | return ENOSYS; | 1166 | return ENOSYS; | ... | ... |
-
Please register or sign in to post a comment