aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-12 14:29:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-12 14:29:33 +0000
commit74cf90975e2071d28f4137710dd0bea5a809bee4 (patch)
treeace6647e57cbcc2746d934bea6049d64610bc6d9 /src/lua/lua_common.h
parentc14def4a6775f49191175e5b5a4e9c8c93b797e1 (diff)
downloadrspamd-74cf90975e2071d28f4137710dd0bea5a809bee4.tar.gz
rspamd-74cf90975e2071d28f4137710dd0bea5a809bee4.zip
Rework lua basic API for new IP.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index c9ce21178..ce817d1e1 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -146,8 +146,7 @@ int rspamd_lua_typerror (lua_State *L, int narg, const char *tname);
* Lua IP address structure
*/
struct rspamd_lua_ip {
- rspamd_inet_addr_t addr;
- gboolean is_valid;
+ rspamd_inet_addr_t *addr;
};
/**