Skip to content

Commit

Permalink
return the right thing
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jan 25, 2024
1 parent 149658c commit 5c5264a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/sqlite3/statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,7 @@ interned_utf8_cstr(const char * str)
{
VALUE rb_str = rb_utf8_str_new_cstr(str);
rb_obj_freeze(rb_str);
rb_funcall(rb_str, rb_intern("-@"), 0);
return rb_str;
return rb_funcall(rb_str, rb_intern("-@"), 0);
}
#endif

Expand Down

0 comments on commit 5c5264a

Please sign in to comment.