diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-02 19:15:51 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-02 19:15:51 +0400 |
commit | 563a106f3a57e460b9c5ea06a2eb4e6456f9e080 (patch) | |
tree | 1c4f23e87f8c811d315cf8f61eb4aea194985aed /src/lua/lua_message.c | |
parent | 68ddc2c40e474e39496718d54d907314e4c74232 (diff) | |
download | rspamd-563a106f3a57e460b9c5ea06a2eb4e6456f9e080.tar.gz rspamd-563a106f3a57e460b9c5ea06a2eb4e6456f9e080.zip |
* Fix lua API
Diffstat (limited to 'src/lua/lua_message.c')
-rw-r--r-- | src/lua/lua_message.c | 2 |
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); } |