+ Fix the initialisation of the random article url generator (ID: 3109548)

This commit is contained in:
kelson42 2010-11-15 16:23:39 +00:00
parent 3d10562634
commit e3afa2339b
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ namespace kiwix {
this->currentArticleOffset = this->firstArticleOffset;
this->articleCount = this->zimFileHandler->getNamespaceCount('A');
}
/* initialize random seed: */
srand ( time(NULL) );
}
/* Destructor */