Commit 0307e6fd authored by Christian Hergert's avatar Christian Hergert
Browse files

bson: generate better random number for bson increment.

And remove that stupid mistake where & was actually %.

Generate the seed for rand_r() using an xor of current seconds,
current milliseconds, and process id.
parent d9263054
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment