diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-03 18:13:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-03 18:13:16 +0100 |
commit | b6eaaf49b62a316f99f43a666c6925068ffa354f (patch) | |
tree | 2d8d19aa5f10068727b66f8f6fb35712b73a12bc /src/lua/lua_http.c | |
parent | 490f4f89875e468ef7bed54a005eacb7822287df (diff) | |
download | rspamd-b6eaaf49b62a316f99f43a666c6925068ffa354f.tar.gz rspamd-b6eaaf49b62a316f99f43a666c6925068ffa354f.zip |
Upgrade rdns.
Diffstat (limited to 'src/lua/lua_http.c')
-rw-r--r-- | src/lua/lua_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c index 15fe08e81..3f30e1f3a 100644 --- a/src/lua/lua_http.c +++ b/src/lua/lua_http.c @@ -306,7 +306,7 @@ lua_http_dns_callback (struct rdns_reply *reply, gpointer arg) struct in_addr ina; struct timeval tv; - if (reply->code != DNS_RC_NOERROR) { + if (reply->code != RDNS_RC_NOERROR) { lua_http_push_error (450, ud); return; } @@ -404,7 +404,7 @@ lua_http_make_request_common (lua_State *L, struct worker_task *task, const gcha /* Resolve hostname */ if (make_dns_request (task->resolver, task->s, task->task_pool, lua_http_dns_callback, ud, - DNS_REQUEST_A, hostname)) { + RDNS_REQUEST_A, hostname)) { task->dns_requests ++; } |