Fix bit flag check.

This commit is contained in:
Jordan Bancino 2023-03-22 00:11:24 +00:00
parent 4a27f50538
commit 2a92d0de7e

View file

@ -307,7 +307,7 @@ StreamGetc(Stream * stream)
return c;
}
if (stream->flags & EOF)
if (stream->flags & STREAM_EOF)
{
return EOF;
}