diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-02 20:50:48 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-02 20:50:48 +0200 |
commit | 39f2b2f7b9d9aebec3f2544cd5eedf653d2eeb8c (patch) | |
tree | 58b4fba02797cdfdba91681f0a80a21e5beb6f2f | |
parent | 8f6395e88916c5f69c18147ef8eb6fe1e51efef7 (diff) | |
download | weechat-39f2b2f7b9d9aebec3f2544cd5eedf653d2eeb8c.zip |
ruby: fix function hdata_get_string
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | src/plugins/ruby/weechat-ruby-api.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index de6127812..7f673e0da 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -34,6 +34,7 @@ Bug fixes:: * javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time * php: fix function hdata_compare * relay: fix parsing of IRC messages received from clients (issue #1796) + * ruby: fix function hdata_get_string * scripts: fix issue with year ≥ 2038 in functions infolist_new_var_time, print_date_tags and print_y_date_tags (plugins: python/lua/tcl/guile/javascript) * scripts: fix issue with long interval in function hook_timer (plugins: python/ruby/lua/tcl/guile/javascript/php) * xfer: fix crash when closing DCC chat buffer diff --git a/src/plugins/ruby/weechat-ruby-api.c b/src/plugins/ruby/weechat-ruby-api.c index efe097cc5..80acd781d 100644 --- a/src/plugins/ruby/weechat-ruby-api.c +++ b/src/plugins/ruby/weechat-ruby-api.c @@ -6352,8 +6352,7 @@ weechat_ruby_api_hdata_get_string (VALUE class, VALUE hdata, VALUE property) c_hdata = StringValuePtr (hdata); c_property = StringValuePtr (property); - result = weechat_hdata_get_var_type_string (API_STR2PTR(c_hdata), - c_property); + result = weechat_hdata_get_string (API_STR2PTR(c_hdata), c_property); API_RETURN_STRING(result); } |