diff options
Diffstat (limited to 'hbeat.c')
-rw-r--r-- | hbeat.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ hbeat_init(const char *host, int max_timeout) hbeatp->last_rhost_btime = 0; hbeatp->start_quiet_time = 0; + srandom(time(0)); /* for gen_cookie */ + return hbeatp; } |