[Spice-devel] [PATCH 3/4] server: remove srand(time(NULL))
Christophe Fergeau
cfergeau at redhat.com
Tue Sep 1 06:41:18 PDT 2015
On Fri, Aug 28, 2015 at 10:25:51AM +0100, Frediano Ziglio wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
>
> This is clearly not a library responsability.
> ---
> server/red_worker.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 1069055..c83f13e 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -12163,8 +12163,6 @@ static void red_init(RedWorker *worker, WorkerInitData *init_data)
> if (!spice_timer_queue_create()) {
> spice_error("failed to create timer queue");
> }
> - srand(time(NULL));
> -
Xspice does not seem to be initalizing the random seed though?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150901/66c0b25e/attachment.sig>
More information about the Spice-devel
mailing list