Commit e5ecb063 authored by Niels Möller's avatar Niels Möller
Browse files

* src/unix_random.c (do_unix_random_background): Check status

before starting background poll.

Rev: src/unix_random.c:1.3
parent eb9ceaf3
......@@ -839,6 +839,7 @@ static void do_unix_random_background(struct random_poll *s)
{
CAST(unix_random, self, s);
if (self->status == POLL_NO_POLL)
start_background_poll(self);
}
......
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