diff options
Diffstat (limited to 'fitz/stm_open.c')
-rw-r--r-- | fitz/stm_open.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fitz/stm_open.c b/fitz/stm_open.c index 41fc8d68..c01ad725 100644 --- a/fitz/stm_open.c +++ b/fitz/stm_open.c @@ -42,11 +42,8 @@ fz_dropstream(fz_stream *stm) { if (stm->error) { - fflush(stdout); - fz_printerror(stm->error); - fz_droperror(stm->error); - fflush(stderr); - fz_warn("dropped unhandled ioerror"); + fz_catch(stm->error, "dropped unhandled ioerror"); + stm->error = fz_okay; } switch (stm->kind) |