diff options
Diffstat (limited to 'stream/stm_read.c')
-rw-r--r-- | stream/stm_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stm_read.c b/stream/stm_read.c index 43bdb192..e0a6e8a1 100644 --- a/stream/stm_read.c +++ b/stream/stm_read.c @@ -269,7 +269,7 @@ fz_readerror(fz_stream *stm) if (stm->error) { error = stm->error; - stm->error = nil; + stm->error = fz_okay; return fz_rethrow(error, "delayed read error"); } return fz_okay; |