aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_dns.c
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-22 15:58:22 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-22 15:58:22 +0100
commit434446f72add375d0f7a94a94e4797d9bd6d1d6a (patch)
tree24e55dc6adbda02c7451438211f444ff0ecb7eed /src/lua/lua_dns.c
parentac38a392e434721bd80360a78385a069e31e5f09 (diff)
downloadrspamd-434446f72add375d0f7a94a94e4797d9bd6d1d6a.tar.gz
rspamd-434446f72add375d0f7a94a94e4797d9bd6d1d6a.zip
[Minor] Move resume/yield methods into appropriate place
Diffstat (limited to 'src/lua/lua_dns.c')
-rw-r--r--src/lua/lua_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_dns.c b/src/lua/lua_dns.c
index 0d12a137c..805921a03 100644
--- a/src/lua/lua_dns.c
+++ b/src/lua/lua_dns.c
@@ -147,7 +147,7 @@ lua_dns_callback (struct rdns_reply *reply, void *arg)
lua_pushvalue (L, -3);
}
- lua_resume_thread (cbdata->task, cbdata->thread, 2);
+ lua_resume_thread (cbdata->thread, 2);
if (cbdata->s) {
rspamd_session_watcher_pop (cbdata->s, cbdata->w);