Browse Source

Initialize cw_warn_time on startup.

Georgi Chorbadzhiyski 12 years ago
parent
commit
aae5372425
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      data.c

+ 1
- 0
data.c View File

@@ -83,6 +83,7 @@ void data_init(struct ts *ts) {
83 83
 	ts->ecm_last_report     = time(NULL);
84 84
 
85 85
 	ts->cw_warn_sec = 20;
86
+	ts->cw_last_warn= time(NULL);
86 87
 
87 88
 	ts->input.fd    = 0; // STDIN
88 89
 	ts->input.type  = FILE_IO;

Loading…
Cancel
Save