Seed random numbers.
This commit is contained in:
parent
933dec8602
commit
9aef54fe87
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user