[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r333 committed - use srandom instead of srand (obsol
From: |
monit |
Subject: |
[monit-dev] [monit] r333 committed - use srandom instead of srand (obsolete) |
Date: |
Mon, 28 Feb 2011 20:13:08 +0000 |
Revision: 333
Author: address@hidden
Date: Mon Feb 28 12:12:17 2011
Log: use srandom instead of srand (obsolete)
http://code.google.com/p/monit/source/detail?r=333
Modified:
/trunk/monitor.c
=======================================
--- /trunk/monitor.c Mon Feb 28 08:00:47 2011
+++ /trunk/monitor.c Mon Feb 28 12:12:17 2011
@@ -230,7 +230,7 @@
/*
* Initialize the random number generator
*/
- srand(time(NULL) + getpid());
+ srandom(time(NULL) + getpid());
/*
* Initialize the Runtime mutex. This mutex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r333 committed - use srandom instead of srand (obsolete),
monit <=