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/ruby | |
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/ruby')
-rw-r--r-- | src/plugins/scripts/ruby/ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/ruby/ruby.c b/src/plugins/scripts/ruby/ruby.c index c17c8c43e..a05535af7 100644 --- a/src/plugins/scripts/ruby/ruby.c +++ b/src/plugins/scripts/ruby/ruby.c @@ -168,7 +168,7 @@ weechat_ruby_exec (t_weechat_plugin *plugin, } else if ((TYPE(rc) == T_FIXNUM) && ret_type == SCRIPT_EXEC_INT) { - ret_i = (int *) malloc (sizeof(int)); + ret_i = (int *)malloc (sizeof(int)); if (ret_i) *ret_i = NUM2INT(rc); ret_value = ret_i; |