From ba2b3587c54ad16c98b16ba7dc6ae12a574e4b80 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 14 Dec 2006 21:38:06 +0000 Subject: [PATCH] * Fix build for systems with no zlib-devel. --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index eebcd5b..a985ab8 100644 --- a/src/io.c +++ b/src/io.c @@ -100,7 +100,7 @@ TOIFILE *toiopen(char const *path, const char *mode) #else toif->f = fopen(path, mode); - if(!f) + if(!toif->f) { free(toif); return NULL;