summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-31 04:16:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-31 04:16:51 +0000
commit466d685a76b39695ac20cd9f55957e2e54b7636e (patch)
treeba92767419a4f37ecaff85a797cf89b09710ca23 /variable.c
parent74d5623029b0b8fb987a45190f3a3eac082990e1 (diff)
* variable.c (rb_obj_classname): wrong tail recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 2770411..4a7bcd4 100644
--- a/variable.c
+++ b/variable.c
@@ -315,7 +315,7 @@ char *
rb_obj_classname(obj)
VALUE obj;
{
- return rb_obj_classname(obj);
+ return rb_class2name(CLASS_OF(obj));
}
struct trace_var {