* Fix build for systems with no zlib-devel.

This commit is contained in:
Sam Hocevar 2006-12-14 21:38:06 +00:00 committed by sam
parent 75ffa54580
commit ba2b3587c5

View file

@ -100,7 +100,7 @@ TOIFILE *toiopen(char const *path, const char *mode)
#else #else
toif->f = fopen(path, mode); toif->f = fopen(path, mode);
if(!f) if(!toif->f)
{ {
free(toif); free(toif);
return NULL; return NULL;