summaryrefslogtreecommitdiff
path: root/stream/stm_open.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-04-20 12:20:52 +0200
committerSebastian Rasmussen <sebras@hotmail.com>2008-04-20 12:20:52 +0200
commitd96fc32d1dcae224b320918c96153574fbd5ed5e (patch)
treed9d972a39fc66f998059b585240ed43d395e07ef /stream/stm_open.c
parent704339802c88bc470187bd77c4680d19108dab0b (diff)
downloadmupdf-d96fc32d1dcae224b320918c96153574fbd5ed5e.tar.xz
Adhere to common idiom when not encoundering error.
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;