summaryrefslogtreecommitdiff
path: root/node/Http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Http.cpp')
-rw-r--r--node/Http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Http.cpp b/node/Http.cpp
index 07ada6dc..86ae2d25 100644
--- a/node/Http.cpp
+++ b/node/Http.cpp
@@ -173,7 +173,7 @@ void Http::Request::main()
addrList->sort();
addrList->unique();
unsigned int i = 0,k = 0;
- k = _r->prng.next32() % addrList->size();
+ k = rand() % addrList->size();
std::list<InetAddress>::iterator a(addrList->begin());
while (i++ != k) ++a;
addr = &(*a);