summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_job_resolve.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-23 19:56:03 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-23 19:56:03 +0300
commitde532922d9ab42aa15b40d47c8db53ac2af38500 (patch)
treed6b7c6b21c7a6e0e3620a3e0c7198e63454d05e3 /src/nxt_job_resolve.c
parent16cbf3c076a0aca6d47adaf3f719493674cf2363 (diff)
downloadunit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.gz
unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.bz2
Introducing tasks.
Diffstat (limited to '')
-rw-r--r--src/nxt_job_resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_job_resolve.c b/src/nxt_job_resolve.c
index 600f1aae..e44acd14 100644
--- a/src/nxt_job_resolve.c
+++ b/src/nxt_job_resolve.c
@@ -121,5 +121,5 @@ fail:
freeaddrinfo(res);
}
- nxt_job_return(nxt_thread(), &jbr->job, handler);
+ nxt_job_return(&jbr->job.task, &jbr->job, handler);
}