use <= instead of ==

This commit is contained in:
Ulf Möller 2001-02-08 17:45:32 +00:00
parent 928cc3a6de
commit a71b5abfa4

View File

@ -120,7 +120,7 @@ int RAND_load_file(const char *file, long bytes)
if (bytes > 0)
{
bytes-=n;
if (bytes == 0) break;
if (bytes <= 0) break;
}
}
fclose(in);