* Fix build for systems with no zlib-devel.
This commit is contained in:
parent
75ffa54580
commit
ba2b3587c5
1 changed files with 1 additions and 1 deletions
2
src/io.c
2
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;
|
||||
|
|
Loading…
Reference in a new issue