Seed random numbers.

This commit is contained in:
Michael Jumper 2013-06-21 15:47:08 -07:00
parent 933dec8602
commit 9aef54fe87

View File

@ -376,6 +376,9 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
/* Allocate client data */ /* Allocate client data */
guac_client_data = malloc(sizeof(rdp_guac_client_data)); guac_client_data = malloc(sizeof(rdp_guac_client_data));
/* Init random number generator */
srandom(time(NULL));
/* Init client */ /* Init client */
freerdp_channels_global_init(); freerdp_channels_global_init();
rdp_inst = freerdp_new(); rdp_inst = freerdp_new();