summaryrefslogtreecommitdiffstats
path: root/ext/gdbm
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-04-10 05:48:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-04-10 05:48:43 +0000
commit620b13d8777086b3b4da0e0a07e93b83ea38b66d (patch)
tree6dcd08ef584fc777cf34517136d5ce3948840e45 /ext/gdbm
parent0453f53db62f1321492288d1c904aade9bb0fa3e (diff)
downloadruby-620b13d8777086b3b4da0e0a07e93b83ea38b66d.tar.gz
ruby-620b13d8777086b3b4da0e0a07e93b83ea38b66d.tar.xz
ruby-620b13d8777086b3b4da0e0a07e93b83ea38b66d.zip
2000-04-10
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm')
-rw-r--r--ext/gdbm/gdbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index 3bf966954..3c1ef88ad 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -260,7 +260,7 @@ fgdbm_invert(obj)
valstr = rb_tainted_str_new(val.dptr, val.dsize);
rb_hash_aset(hash, valstr, keystr);
}
- return obj;
+ return hash;
}
static VALUE