summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-05 02:11:41 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-05 02:11:41 +0000
commit8f65f2f0c286c039cf04fc3da0db5a92d1c641d2 (patch)
treebd4cab4c7abce11657d49d95711d6d826bab4169 /ext
parentc9b8b6b4700200e2117a4511ae6bf79d522b4450 (diff)
downloadruby-8f65f2f0c286c039cf04fc3da0db5a92d1c641d2.tar.gz
ruby-8f65f2f0c286c039cf04fc3da0db5a92d1c641d2.tar.xz
ruby-8f65f2f0c286c039cf04fc3da0db5a92d1c641d2.zip
= should be ==
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/digest/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index e86188886..a43198475 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -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))) {