summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread_time.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_thread_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_thread_time.c b/src/nxt_thread_time.c
index 916aa564..95c88fa3 100644
--- a/src/nxt_thread_time.c
+++ b/src/nxt_thread_time.c
@@ -123,7 +123,7 @@ nxt_time_thread_start(nxt_msec_t interval)
if (nxt_fast_path(link != NULL)) {
link->start = nxt_time_thread;
- link->data = (void *) (uintptr_t) interval;
+ link->work.data = (void *) (uintptr_t) interval;
(void) nxt_thread_create(&handle, link);
}