Changeset 1284:38e4a7c318ac in freeDiameter for extensions/rt_randomize
- Timestamp:
- Jan 4, 2015, 1:55:57 AM (9 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rt_randomize/rt_randomize.c
r1278 r1284 39 39 #include <stdlib.h> 40 40 41 static int seed;41 static unsigned int seed; 42 42 43 43 static int rt_randomizing(void * cbdata, struct msg ** pmsg, struct fd_list * candidates) … … 96 96 /* Register the callback */ 97 97 CHECK_FCT(fd_rt_out_register(rt_randomizing, NULL, 4, &rt_randomizing_hdl)); 98 seed = ( int)time(NULL);98 seed = (unsigned int)time(NULL); 99 99 TRACE_DEBUG(INFO, "Extension 'Randomizing' initialized"); 100 100 return 0;
Note: See TracChangeset
for help on using the changeset viewer.