core: Fix variable "has_whined" value bug

In the file src/pulsecore/random.c

I found that the log information "Failed to get proper entropy. Falling
back to seeding with current time." would never be printed.

This change corrects the issue.
This commit is contained in:
Yang Xichuan 2010-12-16 11:31:36 +08:00 committed by Colin Guthrie
parent 52e3268c9f
commit d963b868de

View file

@ -37,7 +37,7 @@
#include "random.h"
static pa_bool_t has_whined = TRUE;
static pa_bool_t has_whined = FALSE;
static const char * const devices[] = { "/dev/urandom", "/dev/random", NULL };