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

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

before starting background poll.

Rev: src/unix_random.c:1.3
parent eb9ceaf3
......@@ -839,7 +839,8 @@ static void do_unix_random_background(struct random_poll *s)
{
CAST(unix_random, self, s);
start_background_poll(self);
if (self->status == POLL_NO_POLL)
start_background_poll(self);
}
/* Using a NULL reaper argument is ok. It must be supplied only if the
......
Markdown is supported
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