summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread_time.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-05-31 15:26:45 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-05-31 15:26:45 +0300
commit5bc011afad76fe7576ef0e0ed7ca7eb5417cf338 (patch)
tree0db06be61c62ecabb5225f69688da8ab4424aa36 /src/nxt_thread_time.c
parentdee819daabe6e7ab462beac779ab0dfd7d648844 (diff)
downloadunit-5bc011afad76fe7576ef0e0ed7ca7eb5417cf338.tar.gz
unit-5bc011afad76fe7576ef0e0ed7ca7eb5417cf338.tar.bz2
Skeleton of router configuration and request processing.
Diffstat (limited to 'src/nxt_thread_time.c')
-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);
}