diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-19 17:29:23 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-19 17:29:23 +0000 |
commit | 5b78ecce464ef90e4794ed3c6f1d0dcfd5ed2e83 (patch) | |
tree | f547db2872ebf1490d1a356b436b225496bb7a5c /src/lua/lua_redis.c | |
parent | c73632361af0ec1faea773257b4b8764713cb169 (diff) | |
download | rspamd-5b78ecce464ef90e4794ed3c6f1d0dcfd5ed2e83.tar.gz rspamd-5b78ecce464ef90e4794ed3c6f1d0dcfd5ed2e83.zip |
Integrate rspamd with librdns.
Diffstat (limited to 'src/lua/lua_redis.c')
-rw-r--r-- | src/lua/lua_redis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index c0b5c7d52..dedb7850c 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -240,14 +240,14 @@ lua_redis_make_request_real (struct lua_redis_userdata *ud) * @param arg user data */ static void -lua_redis_dns_callback (struct rspamd_dns_reply *reply, gpointer arg) +lua_redis_dns_callback (struct rdns_reply *reply, gpointer arg) { struct lua_redis_userdata *ud = arg; - struct rspamd_reply_entry *elt; + struct rdns_reply_entry *elt; if (reply->code != DNS_RC_NOERROR) { - lua_redis_push_error (dns_strerror (reply->code), ud, FALSE); + lua_redis_push_error (rdns_strerror (reply->code), ud, FALSE); return; } else { |