[PATCH 3/4] server: remove srand(time(NULL))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>

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));
-
     message = RED_WORKER_MESSAGE_READY;
     write_message(worker->channel, &message);
 
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]