summaryrefslogtreecommitdiff
path: root/stream/stm_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stm_open.c')
-rw-r--r--stream/stm_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stm_open.c b/stream/stm_open.c
index c10d1509..908b1a7b 100644
--- a/stream/stm_open.c
+++ b/stream/stm_open.c
@@ -18,7 +18,7 @@ newstm(int kind, int mode)
stm->kind = kind;
stm->mode = mode;
stm->dead = 0;
- stm->error = nil;
+ stm->error = fz_okay;
stm->buffer = nil;
stm->chain = nil;