summaryrefslogtreecommitdiffstats
path: root/ext/digest
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-06 05:29:27 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-06 05:29:27 +0000
commit97daf54e1260087094eea3a7be20914b02eae160 (patch)
treea8b4a8d23514fbf90a1fe31a804b22e92ee7a2ec /ext/digest
parente96f6c26a30444abb4fcc666b1ac3eaba91916e8 (diff)
downloadruby-97daf54e1260087094eea3a7be20914b02eae160.tar.gz
ruby-97daf54e1260087094eea3a7be20914b02eae160.tar.xz
ruby-97daf54e1260087094eea3a7be20914b02eae160.zip
* ext/digest/digest.c (rb_digest_base_s_hexdigest): remove a debug
print. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-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 535577611..3d47685aa 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -151,7 +151,7 @@ rb_digest_base_s_hexdigest(class, str)
hexdigest = xmalloc(len + 1); /* +1 is for '\0' */
algo->end_func(pctx, hexdigest);
- puts(hexdigest);
+
obj = rb_str_new(hexdigest, len);
free(hexdigest);