diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-22 15:58:22 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-22 15:58:22 +0100 |
commit | 434446f72add375d0f7a94a94e4797d9bd6d1d6a (patch) | |
tree | 24e55dc6adbda02c7451438211f444ff0ecb7eed /src/lua/lua_dns.c | |
parent | ac38a392e434721bd80360a78385a069e31e5f09 (diff) | |
download | rspamd-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.c | 2 |
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); |