aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-02 19:15:51 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-02 19:15:51 +0400
commit563a106f3a57e460b9c5ea06a2eb4e6456f9e080 (patch)
tree1c4f23e87f8c811d315cf8f61eb4aea194985aed /src/lua/lua_message.c
parent68ddc2c40e474e39496718d54d907314e4c74232 (diff)
downloadrspamd-563a106f3a57e460b9c5ea06a2eb4e6456f9e080.tar.gz
rspamd-563a106f3a57e460b9c5ea06a2eb4e6456f9e080.zip
* Fix lua API
Diffstat (limited to 'src/lua/lua_message.c')
-rw-r--r--src/lua/lua_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_message.c b/src/lua/lua_message.c
index b178da0d4..60daf357b 100644
--- a/src/lua/lua_message.c
+++ b/src/lua/lua_message.c
@@ -89,7 +89,7 @@ lua_check_message (lua_State *L)
{
void *ud = luaL_checkudata (L, 1, "Rspamd.message");
luaL_argcheck (L, ud != NULL, 1, "'message' expected");
- return (GMimeMessage *)ud;
+ return *((GMimeMessage **)ud);
}