diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-17 17:07:08 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-17 17:07:08 +0100 |
commit | dba084f3d6a65ff8299c79b3867e28b57e50f1be (patch) | |
tree | 4b930f11254cc22148d7bd1b75eab83edcb1f063 /src/plugins/scripts/lua | |
parent | e62ec5204c7061a83860fa6c6c8204414a2dd057 (diff) | |
download | weechat-dba084f3d6a65ff8299c79b3867e28b57e50f1be.zip |
New backlog option in logger plugin, added variable names in .h files, replaced "void *" pointers by structures
Diffstat (limited to 'src/plugins/scripts/lua')
-rw-r--r-- | src/plugins/scripts/lua/lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/lua.c b/src/plugins/scripts/lua/lua.c index 572f71269..d3034b628 100644 --- a/src/plugins/scripts/lua/lua.c +++ b/src/plugins/scripts/lua/lua.c @@ -95,7 +95,7 @@ weechat_lua_exec (t_weechat_plugin *plugin, ret_value = strdup ((char *) lua_tostring (lua_current_interpreter, -1)); else if (ret_type == SCRIPT_EXEC_INT) { - ret_i = (int *) malloc (sizeof(int)); + ret_i = (int *)malloc (sizeof(int)); if (ret_i) *ret_i = lua_tonumber (lua_current_interpreter, -1); ret_value = ret_i; |