diff options
Diffstat (limited to 'ot_stats.c')
| -rw-r--r-- | ot_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -739,7 +739,7 @@ void stats_deliver(int64_t sock, int tasktype) { mutex_workqueue_pushtask(sock, | |||
| 739 | 739 | ||
| 740 | static pthread_t thread_id; | 740 | static pthread_t thread_id; |
| 741 | void stats_init(void) { | 741 | void stats_init(void) { |
| 742 | ot_start_time = g_now_seconds; | 742 | ot_start_time = time_now_seconds(); |
| 743 | pthread_create(&thread_id, NULL, stats_worker, NULL); | 743 | pthread_create(&thread_id, NULL, stats_worker, NULL); |
| 744 | } | 744 | } |
| 745 | 745 | ||
