Bugzilla Bug 357015: it turns out the code is correct. it's the comment

that's wrong.
This commit is contained in:
wtchang%redhat.com 2006-10-18 23:45:32 +00:00
parent f0e551bb13
commit dbb6ae1065

View File

@ -323,10 +323,8 @@ ReadSystemFiles()
RNG_RandomUpdate(&dwNumFiles, sizeof(dwNumFiles));
// now read 10 files
// because of a programming error, the code actually reads the
// first 10 readable files, then 10 or 11 files spread throughout
// the system directory
// now read the first 10 readable files, then 10 or 11 files
// spread throughout the system directory
filesToRead = 10;
if (dwNumFiles == 0)
return;