Browse Source

Add missing srand

pull/732/head
Max Lv 8 years ago
parent
commit
2f26412699
2 changed files with 4 additions and 0 deletions
  1. 2
      src/redir.c
  2. 2
      src/tunnel.c

2
src/redir.c

@ -677,6 +677,8 @@ void signal_cb(int dummy) {
int main(int argc, char **argv)
{
srand(time(NULL));
int i, c;
int pid_flags = 0;
char *user = NULL;

2
src/tunnel.c

@ -686,6 +686,8 @@ void signal_cb(int dummy) {
int main(int argc, char **argv)
{
srand(time(NULL));
int i, c;
int pid_flags = 0;
char *user = NULL;

Loading…
Cancel
Save