1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

= should be ==

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2002-09-05 02:11:41 +00:00
parent 8ed2c6fc8a
commit 3a0f79267e

View file

@ -148,7 +148,7 @@ rb_digest_base_become(copy, obj)
algo_t *algo;
void *pctx1, *pctx2;
if (copy = obj) return copy;
if (copy == obj) return copy;
rb_check_frozen(copy);
algo = get_digest_base_metadata(CLASS_OF(copy));
if (algo != get_digest_base_metadata(CLASS_OF(obj))) {