mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-12 16:47:20 -04:00
+ Fix the initialisation of the random article url generator (ID: 3109548)
This commit is contained in:
parent
3d10562634
commit
e3afa2339b
@ -31,6 +31,9 @@ namespace kiwix {
|
||||
this->currentArticleOffset = this->firstArticleOffset;
|
||||
this->articleCount = this->zimFileHandler->getNamespaceCount('A');
|
||||
}
|
||||
|
||||
/* initialize random seed: */
|
||||
srand ( time(NULL) );
|
||||
}
|
||||
|
||||
/* Destructor */
|
||||
|
Loading…
x
Reference in New Issue
Block a user